# Eureka! Control File for Stage 4: Generate Lightcurves # Stage 4 Documentation: https://eurekadocs.readthedocs.io/en/latest/ecf.html#stage-4 # Number of spectroscopic channels spread evenly over given wavelength range nspecchan 1 #95 # Number of spectroscopic channels spread evenly over given wavelength range. Set to None to leave the spectrum unbinned. compute_white False # Also compute the white-light lightcurve s4_order 1 # For NIRISS, specify spectral order wave_min 0.9 #0.7#0.9 # Minimum wavelength. Set to None to use the shortest extracted wavelength from Stage 3. wave_max 2.8 #1.0#2.8 # Maximum wavelength. Set to None to use the longest extracted wavelength from Stage 3. #npixelbins 5 #npixelshift 4 wave_input /data/JWST/kelt7b/NIRISS_SOSS/KELT-7_FIREFLy_Bins.txt # Full path to a txt file with pre-defined wavelength bins in two columns separated by whitespace. allapers True # Run S4 on all of the apertures considered in S3? Otherwise will use newest output in the inputdir # Manually mask pixel columns by index number # mask_columns [] # Parameters for drift correction of 1D spectra recordDrift False # Set True to record drift/jitter in 1D spectra (always recorded if correctDrift is True) correctDrift False # Set True to correct drift/jitter in 1D spectra (not recommended) # Parameters for sigma clipping clip_unbinned True # Whether or not sigma clipping should be performed on the unbinned 1D time series clip_binned True # Whether or not sigma clipping should be performed on the binned 1D time series sigma_unbinned 15 #25 sigma_binned 3 #3 # The number of sigmas a point must be from the rolling median to be considered an outlier box_width 15 # The width of the box-car filter (used to calculated the rolling median) in units of number of data points maxiters 5 # The number of iterations of sigma clipping that should be performed. boundary fill # Use 'fill' to extend the boundary values by the median of all data points (recommended), 'wrap' to use a periodic boundary, or 'extend' to use the first/last data points fill_value mask # Either the string 'mask' to mask the outlier values (recommended), 'boxcar' to replace data with the mean from the box-car filter, or a constant float-type fill value. # Limb-darkening parameters compute_ld exotic-ld # Options: exotic-ld, spam, False # Options for ExoTiC-LD metallicity 0.0 # Metallicity of the star teff 6767 # Effective temperature of the star in K logg 4.1 # Surface gravity in log g exotic_ld_direc /data/exotic-ld_data/ # Directory for ancillary files for exotic-ld, download from: https://zenodo.org/doi/10.5281/zenodo.6047317 exotic_ld_grid mps2 # You can choose from kurucz (or 1D), stagger (or 3D), mps1, or mps2 model grids, or custom (to use custom_si_grid below) # custom_si_grid /home/User/path/to/custom/stellar/intensity/profile #Custom Stellar Intensity profile. For examples see Eureka/demos/JWST/Custom_Stellar_Intensity_Files # exotic_ld_file /home/User/exotic-ld_data/Custom_throughput_file.csv # Custom throughput file, for examples see Eureka/demos/JWST/Custom_throughput_files # Options for SPAM spam_file /home/User/spam-ldcoeff-u1-u2.txt # Pre-generated file of SPAM limb-darkening values at high resolution # Diagnostics isplots_S4 3 # Generate few (1), some (3), or many (5) figures (Options: 1 - 5) vmin 0.99 # Sets the vmin of the color bar for Figure 4101. vmax 1.02 # Sets the vmax of the color bar for Figure 4101. time_axis 'y' # Determines whether the time axis in Figure 4101 is along the y-axis ('y') or the x-axis ('x') hide_plots True # If True, plots will automatically be closed rather than popping up verbose True # If True, more details will be printed about steps # Project directory topdir /data/JWST/kelt7b/NIRISS_SOSS/IndvReads/ # Directories relative to topdir inputdir /S3/ # The folder containing the outputs from Eureka!'s S3 or JWST's S3 pipeline (will be overwritten if calling S3 and S4 sequentially) filename_S3_SpecData S3_kelt7bIndvReads_SpecData outputdir /S4/FIREFlyBins/