Closed deanthedream closed 1 year ago
@ggenszler I think this will be covered by your previous and current set of changes to fZ calculations. Please tag the error on next commit to cover it, or close the issue if it is already covered.
Closed by #327
https://github.com/dsavransky/EXOSIMS/blob/7a22a8a2d084490b05987839431e00e2a0483ae7/EXOSIMS/ZodiacalLight/Stark.py#L261
The problem here is that SS.init generates fZ_startSaved using the first detection mode. When tiered scheduler_DD calls calcfZmin for the occulter, it needs to use a newly created fZ_startSaved calculation and not the one for the detection mode. This specific line needs to become an input to the function as either the array or None. If None, call self.generatefZ, if precomputed, use that instead. In Tiered Scheduler, the calcfZmin needs to have occ_fZ_startSaved passed in. This means ZL.generateFZ needs to be called on the preceding line.