The function pastis_contrast() in util_pastis.py currently needs to return result.value when running for JWST and result when running for LUVOIR, so that it gets stripped of its astropy unit. This needs to be made independent of the telescope that is being worked on.
The function
pastis_contrast()inutil_pastis.pycurrently needs to returnresult.valuewhen running for JWST andresultwhen running for LUVOIR, so that it gets stripped of its astropy unit. This needs to be made independent of the telescope that is being worked on.