usnistgov / MATS

Multi-spectrum Analysis Tool for Spectroscopy
https://pages.nist.gov/MATS/
Other
8 stars 7 forks source link

Capability to Simulate and Fit with an Instrument Function #47

Closed eadkins333 closed 3 years ago

eadkins333 commented 3 years ago

Instrument function causes the absorption to be split across adjacent spectra points (think sliding window). This means that you can't simply sample at a more coarse interval, but need to simulate at the more fine interval and then down sample. For fitting, I think this would mean adding something to increase the inflate the sampling interval and then resample onto the original frequency grid. In this implementation need to check that it can still accommodate gaps in the spectra and that the the output spectra isn't dependent on the inflation factor.

eadkins333 commented 3 years ago

Added Functionality - closed 12/4/2020