This PR adds an the intermediary telescope/coronagraph class ScdaAPLC to allow for a generic telescope created from a set of input files from the SCDA working group, as fits files. Such a set must consist of:
a segmented aperture
an indexed segmented aperture in which each segment pixel is filled with its index, and where the segment center positions in x and y are saved in the fits header
a Lyot stop
an apodizer
This has already been used for LuvoirA_APLC. This class now inherits directly from ScdaAPLC to instantiate it with the proper Luvoir A files.
This was done to be able to create a new specific telescope class HexRingAPLC. This class allows us to instantiate hexagonally segmented apertures with varying number of segment rings, and according apodizers. This is work in preparation for the 2022 SPIE proceeding Nickson et al. (fyi @brynickson).
[x] test LuvoirA_APLC to assure back-compatibility
[x] figure out how to determine the segment size seg_flat_to_flat, number of segments num_seg and apodizer filenames
[x] add segment center x and y positions to fits header of indexed aperture
This PR adds an the intermediary telescope/coronagraph class
ScdaAPLC
to allow for a generic telescope created from a set of input files from the SCDA working group, as fits files. Such a set must consist of:LuvoirA_APLC
. This class now inherits directly fromScdaAPLC
to instantiate it with the proper Luvoir A files.This was done to be able to create a new specific telescope class
HexRingAPLC
. This class allows us to instantiate hexagonally segmented apertures with varying number of segment rings, and according apodizers. This is work in preparation for the 2022 SPIE proceeding Nickson et al. (fyi @brynickson).LuvoirA_APLC
to assure back-compatibilityseg_flat_to_flat
, number of segmentsnum_seg
and apodizer filenamesHexRingAPLC