nonuniform-temperature fitting
Project description
Non-uniform Temperature Fitting (NTfit)
Nonuniform-temperature fitting code, to extract spatial temperature variations along a laser path. For high-temperature gas diagnostics.
In support of the 2-part paper series N.A. Malarich and G.B. Rieker, "Resolving nonuniform temperature distributions with single-beam absorption spectroscopy"
Nonuniform-temperature fitting is a two-step process. The Python package ntfit has sub-packages for each step.
ntfit.spectrafit: Extract linestrengths from broadband spectrum with E"-binning.ntfit.tdist: Fit temperature distribution from linestrength fit in (1) with Tikhonov regularization.
For help running the fits, check out examples/Example_td.py, or the associated .ipynb (Jupyter Notebook) file.
Package requirements
Your computer must already have the following Python packages:
python3.x
numpy
matplotlib
scipy
NTfit also includes HAPI, available under MIT license.
NTfit changed HAPI version 1.1.0.9.6 lineshape equations (power-law temperature dependence) from original HAPI to improve high-temperature acuracy.
See ntfit/hapi/hapi_combustion.py docstring for details.
Partition functions are calculated using TIPS2017.
References
If you use this package, please cite the following articles.
for E"-bin fitting with HAPI:
-
R.V. Kochanov, I.E. Gordon, L.S. Rothman, P. Wcislo, C. Hill, J.S. Wilzewski, HITRAN Application Programming Interface (HAPI): A comprehensive approach to working with spectroscopic data, J. Quant. Spectrosc. Radiat. Transfer 177, 15-30 (2016) DOI: 10.1016/j.jqsrt.2016.03.005.
-
N.A. Malarich and G.B. Rieker, "Resolving nonuniform temperature distributions with single-beam absorption spectroscopy. Part II: Implementation from broadband spectra" JQSRT (2021) DOI: 10.1016/j.jqsrt.2021.107805
-
(time-domain fitting) R.K. Cole, A.S. Makowiecki, Z. Hoghooghi, G.B. Rieker, "Baseline-free Quantitative Absorption Spectroscopy Based on Cepstral Analysis" Optics Express 27 (2019) DOI: 10.1364/OE.27.037920.
for ntfit.tdist:
- N.A. Malarich and G.B. Rieker, "Resolving nonuniform temperature distributions with single-beam absorption spectroscopy. Part I: Theoretical capabilities and limitations" JQSRT (2021) DOI: 10.1016/j.jqsrt.2020.107455
Author
Nathan Malarich (nathan.malarich@colorado.edu)
Change Log
[2.1] - 2022-09-23
Changed
- ntfit now a separate sub-package, compatible with pip install
hapisub-package has separate file for Q(T) tables- Removed uniform_fit example, as lookup table is much more efficient way to fit temperature
- Tikhonov regularization module now
ntfit.tdist - E"-bin spectral-fitting now
ntfit.spectrafit
[2.0] - 2021-03-01
Added
- E"-bin spectral fitting package with hapi
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file ntfit-2.1.0.tar.gz.
File metadata
- Download URL: ntfit-2.1.0.tar.gz
- Upload date:
- Size: 362.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db5365990ff67b1998756886d0c0490dd3713f6bdfeec054c1d584b69ad7a45f
|
|
| MD5 |
11a76ea7788766ace870c73ff8d5c724
|
|
| BLAKE2b-256 |
ea0cb2c71543f8139a600db3217577d844f80c89c9f67ed2a18c730c0827883e
|