-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
good first issueGood for newcomersGood for newcomersinterfacenot related to the physics of the codenot related to the physics of the codepost-processRelated to the post-processing (ex: methods of Spectrum objects)Related to the post-processing (ex: methods of Spectrum objects)😎.Easy (good to start with!)Easy (good to start with!)
Milestone
Description
SpectrumFactory can read arbitrary astropy.units inputs after #55
We need to do the same thing for the Spectrum post-processing methods, for instance rescale_path_length, crop, etc. See all the methods there: https://radis.readthedocs.io/en/latest/spectrum/spectrum.html
Most of the work will be in the spectrum.py file.
- parse inputs with the
convert_and_strip_unitsfunction as in Deploy astropy units throughout radis : Take I #55 - update examples in the docs
Edit: Here are all the Spectrum methods:
- apply_slit
- compare_with
- copy
- crop
- get
- get_conditions
- get_integral
- get_name
- get_populations
- get_power
- get_quantities
- get_radiance
- get_radiance_noslit
- get_rovib_levels
- get_slit
- get_vars
- get_vib_levels
- get_wavelength
- get_wavenumber
- get_waveunit
- is_at_equilibrium
- is_optically_thin
- line_survey
- offset
- plot
- plot_populations
- plot_slit
- print_conditions
- resample
- rescale_mole_fraction
- rescale_path_length
- save
- savetxt
- store
- update
Edit :
Could also be done in sPlanck to combine the use of wavelength or wavenumber, and also allow the use of Frequency (in Hz)
- once done, could answer with a RADIS example on this StackOverflow post that requires Planck blackbody calculation with frequency (in Hz)
a-deity
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersinterfacenot related to the physics of the codenot related to the physics of the codepost-processRelated to the post-processing (ex: methods of Spectrum objects)Related to the post-processing (ex: methods of Spectrum objects)😎.Easy (good to start with!)Easy (good to start with!)