Closed ivalaginja closed 1 year ago
I agree with you, just wasn't sure how to implement that fast since it needs some extra parameters being passed around. Btw while working on this I realized this doesn't write out the phase mask, but the phasor, which is not super useful if you want to look at it outside of code. This is consistent with how it's done for the FQPM but I don't think it's super useful. So I am ok with just closing this PR without merging.
I hadn't implemented any writing out of intermediary planes in the focal plane when we merged the zoom-in sampling, this PR adds the option to write out the FPM when the appropriate keyword is set.
I tested this with the wrapped vortex coronagraph and it works fine.