JarronL / pynrc

Python ETC and Simulator for JWST NIRCam
MIT License
3 stars 9 forks source link

Sensitivities of arbitrary slope images #26

Open JarronL opened 6 years ago

JarronL commented 6 years ago

Add ability to generate saturation and sensitivity limits for arbitrary images. For instance, if a star is offset from the center of coronagraphic mask, we want to have the ability to generate a slope image then and pass that through nrc.sensitivity and nrc.sat_limits.

JarronL commented 6 years ago

This should already be done for sensitivity function via nrc_utils.bg_sensitivity. Copy similar implementation to nrc_utils.sat_limit_webbpsf. Make sure to update doc strings in nrc.sensitivity and nrc.sat_limits.