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.3.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.3-py3-none-any.whl (19.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygsfit_cp-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 55ca08e9f3232682b1a45dedbdf4d21e4c417142a36b00e0349e90a6942a760d
MD5 f2e26c43f3c86691e958d33c01a7b0bb
BLAKE2b-256 fb4bc3fa558a3b5f39550fae1b8a0166d1f047bc33f9f3aa3cee715e99149e26

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygsfit_cp-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7ddcbc9402f07a9ce5ee89dc4d1d46d514494277e63ca8a929f6c9400d3fa6fb
MD5 884fef507ad2d9548e49c8a549f25e9a
BLAKE2b-256 e52525e8994d380f021d58099e9ad7d3aa7c307a41b8b54aaff3f05078be051a

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