-
Notifications
You must be signed in to change notification settings - Fork 9
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
Simulation realism: part 1 #46
Conversation
…fig constant in um/arcsec
…l focal plane (x,y)
@sbailey @moustakas I am planning to merge this tomorrow so I can start work on part 2, but let me know if I should hold off to allow time for review. Integration with desisim will not start until the dust settles on part 2. |
I'm not set up right now to test the code, but I did read through all the proposed changes. Everything looks good as far as I can tell. I wonder whether users will get tripped-up by having to specify the units with the exposure time (lines 30-31 of |
I actually made the same mistake ('m' vs 'min') when I was testing, so I just improved the error handling:
|
This is the first major piece of adding simulation realism. The simulation now knows about the plate scale variation across the focal plane and can locate simulated sources on the focal plane, resulting in the correct variation of on-sky fiber area and shape.
The next step is to upgrade the fiber acceptance fraction calculations #5 so that the source throughput reflects focal plane position (currently only the sky background level reflects the on-sky fiber area).
Fixes #24.