-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement "Luminous Flux" computation. #40
Comments
I'm interested in implementing this, but i had a few questions about how to best do it. I see that generating all of the relevant lefs as already been implemented, so all that's left is writing the general luminous flux function. It's unclear to me how to best implement the integration by parts to do the inner product. As far as I'm aware, numpy doesn't have a general integration function that runs a length n-1 array of the integration pieces (please correct me if I'm wrong). I could write something add something to .colour/algebra/common.py but I don't want to assume that everybody would want to use trapezoidal integration. I could add the options of left-rule, right-rule, etc. but that gets busy quick. I'd appreciate any advice. |
Hi Luke, I haven't checked in details but you should be able to avoid the integration by doing a summation like we do it for spectral conversion. Just found this link, I think it should help: http://hyperphysics.phy-astr.gsu.edu/hbase/vision/lumpow.html |
…mplementation utilizes left-hand integration.
This implementation uses left-hand integration. Closes #40.
References
The text was updated successfully, but these errors were encountered: