pygsfit_cp
is a radio imaging spectroscopy package dedicated to performing spectrum fitting.
conda create --name myenv
conda activate myenv
pip install pygsfit_cp
Step1: There are two ways to do step 1.
a. Initial Setup and Exploration
- Run
/demo/pygsfit_cp.ipynb
to identify appropriate initial gas parameters and fitting ranges for each parameter. - Define and visualize the Region of Interest (ROI).
b. Export Batch Script
- After obtaining the ideal fitting results, export a batch mode fitting script to perform the fitting with the same parameters.
a. Direct Batch Mode
- If you are already familiar with your data, directly run
/demo/batch_mode_script.py
. - Manually input all the parameters of the ROI.