Skip to content

Exoplanet Spectra Input/Output#470

Open
96armen wants to merge 23 commits intodsavransky:masterfrom
96armen:spectrum_for_chars
Open

Exoplanet Spectra Input/Output#470
96armen wants to merge 23 commits intodsavransky:masterfrom
96armen:spectrum_for_chars

Conversation

@96armen
Copy link
Copy Markdown
Collaborator

@96armen 96armen commented Apr 23, 2026

Describe your changes

Added capability to:
1 - use spectra from precomputed tables using the 'use_spectrum' keyword. Allows for wavelength dependent calculations.
2 - output spectra of characterized planets (wavelength vs planet counts) with appropriate error bars using 'calc_spectra' keyword
3 - use parameterized equations for coronagraph performance curves with Nemati_ct_iwa_2xbg.py

Type of change

  • New feature (non-breaking change which adds functionality)

Reference any relevant issues (don't forget the #)

Checklist before requesting a review

  • I have verified that all unit tests pass in a clean virtual environment and added new unit tests, as needed
  • I have run e2eTests and added new test scripts, as needed
  • I have verified that all docstrings are properly formatted and added new documentation, as needed

Armen Tokadjian and others added 23 commits August 26, 2024 10:52
1. core_platescale rescaling: add 0.0 to prevent being the same object as syst["core_platescale"]. This is in OpticalSystem Prototype
2. change round to np.round in SurveySimulation Prototype
Currently have the following:
- signal is Cp*t
- error is square root term in SNR
- outputting wavelength bins, signal, and error as the 'spectrum' in the DRM
- star count rate C_star is also outputted to DRM
- stellar flux is wavelength dependent
- most count rates are wavelength dependent; exceptions are Cez and Cz which are an array of constant value and noise count rates which are single values
- the function Cp_Cstar_wl is the master function that makes the wavlength dependent counts. There is a prototype version and a Nemati version
-Added file of QE vs lambda
-Cp_Cb_Csp_Cstar_wl function now uses the wavelength dependent QE
Incorporate wavelength dependency for count rates in optical system, specifically in the Cp_Cb_Csp_Cstar_wl function
Bug fixes, clean up comments, add new comments for calculating and outputting spectra in simulation
Implement OS class for allowing parameterized coronagraph based on the equations from Tokadjian et al in the HWO25 Conference Proceedings
Minor edits to pass unit tests and incorporate necessary docstrings
Removed unused variables, updated docstrings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant