On 4/6/22 08:50, Brian McCall wrote:

> Alright, now let's look at an example. Again, it's not my best, let's go with 
it. This is just
> a calculation of the expected number of photons to reach a pixel through a 
camera of a given
> f-number (F). I mentioned this has bitten me before. All that means is that 
based on a set of
> simulations, we though something was possible, spent a few weeks building a 
prototype, got
> results that made no sense, and then realized that there was a unit error in 
the original
> feasibility analysis. That one was on me, and since I am a capable 
programmer, I ought to have
> been using a units package.

Thank you for all the examples, that should help a lot. Out of curiosity, those are the corrected versions of the code? Where was the mistake in the original?

--
~Ethan~
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/2HLNUKMBV6SZHCKKI2YRID7EP76KETYC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to