pypeit.core.qa module
Module for QA in PypeIt
- pypeit.core.qa.close_qa(pypeit_file, qa_path)[source]
Tie off QA under a crash
- Parameters
pypeit_file (_type_) – _description_
qa_path (_type_) – _description_
- pypeit.core.qa.gen_qa_dir(qa_path)[source]
Make the QA directory if it doesn’t already exist
- Parameters
qa_path (str) – Path to the QA folder
- pypeit.core.qa.gen_timestamp()[source]
Generate a simple time stamp including the current user
- Returns
timestamp – user_datetime
- Return type
- pypeit.core.qa.get_dimen(x, maxp=25)[source]
Assign the plotting dimensions to be the “most square”
- pypeit.core.qa.html_mf_pngs(idval)[source]
Generate HTML for QA PNGs
- Parameters
idval – str Key identifier of the calibration set
- Returns
links – HTML links to the PNGs
body – HTML edits for the main body
- Return type