pyimcom.diagnostics.stars
Simulated star diagnostics report section.
Classes
- SimulatedStar
Report section for the simulated stars.
Functions
- _starplot_diagnostic
Makes the multipanel figure for simulated star diagnostics.
Classes
Builds the simulated star section of the report. |
Functions
|
Generates a multi-panel figure and associated data for the injected star diagnostics. |
Module Contents
- _starplot_diagnostic(datastem)[source]
Generates a multi-panel figure and associated data for the injected star diagnostics.
- Parameters:
datastem (str) – Stem for the data location.
- Returns:
Report information.
- Return type:
dict
Notes
Reads the files:
* `datastem` + ``_SimulatedStar_StarCat.txt`` * `datastem` + ``_SimulatedStar_dynrange.dat`` * `datastem` + ``_SimulatedStar_sqrtS_hist.dat`` * `datastem` + ``_SimulatedStar_neff_hist.dat``
Writes the files:
* `datastem` + ``_SimulatedStar_all.pdf``
This replaces a perl + gnuplot script that was used in the OpenUniverse 2024 run.
- class SimulatedStar(rpt)[source]
Bases:
pyimcom.diagnostics.report.ReportSectionBuilds the simulated star section of the report.
Inherits from pyimcom.diagnostics.report.ReportSection, overrides the build method.