8000 GitHub - suncast-org/pygsfit_cp: A python wrpper of the core fitting functionalities of gsFit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

suncast-org/pygsfit_cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pygsfit_cp

pygsfit_cp is a radio imaging spectroscopy package dedicated to performing spectrum fitting.

INSTALLATION:

New conda/virtual env (highly recommanded) please replace myenv with a desired name

conda create --name myenv conda activate myenv pip install pygsfit_cp

USAGE:

Step1: There are two ways to do step 1.

Method One (Recommended)

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.

Method Two

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.
< 6932 div class="markdown-heading" dir="auto">

Common Steps for Both Methods

  1. Execute Batch Script

    • Execute the batch script to obtain the fitting results, which include:
      • A results file (fitting_results.h5)
      • An IDL script (make_params_maps.pro)
      • Several intermediate files.
  2. Generate Parameter Maps

    • Run the IDL script (make_params_maps.pro) directly in sswidl to generate an IDL save file (parameters_map.sav).
    • The resulting save file can be opened in gsfitview, sswidl.

About

A python wrpper of the core fitting functionalities of gsFit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0