Stage 2 through Stage 6 of Eureka!
can be configured to output plots of the pipeline's interim results as well as the data required to run further stages.
If skip_extract_1d
is set in the Stage 2 ECF, the 1-dimensional spectrum will not be extracted, and no plots will be made. Otherwise, Stage 2 will extract the 1-dimensional spectrum from the calibrated images, and will plot the spectrum.
In Stage 3 through Stage 5, output plots are controlled with the isplots_SX
parameter. The resulting plots are cumulative: setting isplots_S3 = 5
will also create the plots specified in isplots_S3 = 3
and isplots_S3 = 1
.
- In Stage 3:
- If
isplots_S3
= 1:Eureka!
will plot the 2-dimensional, non-drift-corrected light curve, as well as variations in the source position and width on the detector.
- If
isplots_S3
= 3:Eureka!
will plot the results of the background and optimal spectral extraction steps for each exposure in the observation as well as the cleaned median frame.
- If
isplots_S3
= 5:Eureka!
will plot the Subdata plots from the optimal spectral extraction step.
- If
- In Stage 4:
- If
isplots_S4
= 1:Eureka!
will plot the spectral drift per exposure, the drift-corrected 2-dimensional lightcurve with extracted bins overlaid, and the 1D light curves.
- If
isplots_S4
= 3:Eureka!
will plot the cross-correlated reference spectrum with the current spectrum for each integration, and the cross-correlation strength for each integration.
- If
- In Stage 5:
- If
isplots_S5
= 1:Eureka!
will plot the fitted lightcurve model over the data in each channel. If fitting with a GP, an additional figure will be made showing the GP component. If fitting a sinusoid_pc model, another zoomed-in figure with binned data will be made to emphasize the phase variations. Finally, an additional plot compares the fits from different fitters.
Fig 5104: (Demo figure to come) Zoomed-in Figure Emphasizing Phase Variations Using Temporally Binned Data.
- If
isplots_S5
= 3:Eureka!
will plot an RMS deviation plot for each channel to help check for correlated noise, plot the normalized residual distribution, and plot the fitting chains for each channel. If fitting a sinusoid_pc model, another zoomed-in figure with binned data in front of the unbinned data will be made to emphasize the phase variations.
emcee
runs. Two version of the plot will be saved, one including the burn in steps and one without the burn in steps.Fig 5304: (Demo figure to come) Zoomed-in Figure Emphasizing Phase Variations Using Temporally Binned Data Over Unbinned Data.
- If
isplots_S5
= 5, and ifemcee
ordynesty
were used as the fitter:Eureka!
will plot a corner plot for each channel.
- If
- In Stage 6:
- If
isplots_S6
= 1:Eureka!
will plot the transmission or emission spectrum, depending on the setting ofy_unit
. If a model is provided, it will be plotted on the same figure along with points binned from that model to the resolution of the data.
- If
isplots_S6
= 3:Eureka!
will make another transmission plot (ify_unit
is transmission type) with a second y-axis which is in units of atmospheric scale height.
- If