Skip to main content

A python wrpper of the core fitting functionalities of gsFit.

Project description

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygsfit_cp-0.1.4.tar.gz (18.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygsfit_cp-0.1.4-py3-none-any.whl (19.4 MB view details)

Uploaded Python 3

File details

Details for the file pygsfit_cp-0.1.4.tar.gz.

File metadata

  • Download URL: pygsfit_cp-0.1.4.tar.gz
  • Upload date:
  • Size: 18.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for pygsfit_cp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ec396d988c56a2745cf70d18b69f1ced25cd4e8a3de145fc8b773a5024c0d3e5
MD5 da2a16ff80ab57048a42601cffa4abdb
BLAKE2b-256 2089bcb07b314d5f157d7185da11b048a20bbe87ef92ba548ab2ebc6c85d1d33

See more details on using hashes here.

File details

Details for the file pygsfit_cp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pygsfit_cp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 19.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for pygsfit_cp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 adf44ee8bb1da0adbae88d1b4bc0998aa4bc9971ad512f5ab4e85ea51f85b580
MD5 3f8adac57b3d39046f6f1f125d771f2b
BLAKE2b-256 d4d429d45ff301f3e2d7e1a0cf481d31fb6509a71aac9c038c03d02f66505d03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page