Conversation
Add the new transmission function for 3w TS
… the electron suseptibility
Modified looping structure to allow for initialization based on full previous runs
- Updated defaults.yaml and inputs.yaml for 1D configurations, adjusting parameters for ion and electron fitting ranges, smoothing methods, and optimizer settings. - Enhanced the base.py distribution function to support different smoothing types (butterworth and hanning). - Modified fitter.py to validate input configurations and ensure proper ordering of lineout and fit ranges. - Refactored loops.py to implement a new optimization loop using Optax, allowing for more flexible fitting routines. - Introduced multirun_angular_optax function for batch processing of angular Thomson scattering data. - Updated loss_function.py to store auxiliary values during loss computation. - Adjusted evaluate_background.py and lineouts.py to improve background processing and lineout calculations. - Cleaned up postprocess.py to streamline data processing after fitting.
…nverse-thomson-scattering into postprocessor_revamp
…s forward model bug, fixed input checker bug, fixed handling of m for arts
- Updated input parameters in YAML files for better clarity and consistency. - Enhanced the `smooth1d` function in `base.py` to include additional convolution methods. - Modified `angular_optax` function to track exit conditions and improve state saving. - Adjusted plotting functions to handle zero data cases and updated log scaling. - Ensured compatibility of distribution functions with new parameter structures.
…nverse-thomson-scattering into postprocessor_revamp
modified spherical harmonic code to work for arbitrary order
…nverse-thomson-scattering into postprocessor_revamp
…ction for 3w and 4w data
added 22 commits
November 10, 2025 15:40
Started work on a simpler lineout background algorithm to prevent issues at 3 and 4w
…ocessing - Added background subtraction option in defaults.yaml and inputs.yaml. - Adjusted fitting ranges and parameters in inputs.yaml for improved accuracy. - Enhanced loss function calculations to use amplitude norms. - Introduced new interactive forward pass functionality in calc_vs_data.py. - Updated ThomsonScatteringDiagnostic to handle new spectral types. - Refined data processing in evaluate_background.py and postprocess.py.
…ndling and background subtraction
…tering into flux-work
…and common domain definition. Switched data visualizer to use shading instead of lines to denote ROI, and added a background comparison plot
- Moved spectrum loading options from `other.extraoptions` to `data` in various configuration files. - Updated references in the codebase to reflect the new configuration structure. - Ensured that fitting options for IAW and EPW are disabled if the corresponding spectrum is not loaded. - Cleaned up redundant code and improved consistency across configuration files. - Updated tutorial and input docs
- Created new documentation files for `tsadar.utils.process.warpcorr`, `tsadar.utils`, and `tsadar.utils.vector_tools` to enhance module visibility. - Updated `getting_started.rst` to improve clarity and fix references to background algorithms. - Refined input documentation for electron, ion, and general parameters in `inputs.rst`. - Removed obsolete `spectrum.rst` file to clean up documentation. - Refactored `load_ts_data.py` to handle CCD size and improve error handling for fiducial timing. - Adjusted calibration values in `calibration.py` for improved accuracy. - Enhanced `prepare.py` to include CCD size in data loading. - Updated various functions in `plotters.py` and `lineouts.py` to streamline plotting and background selection processes. - Improved Butterworth filter documentation in `base.py` for better clarity on parameters and returns.
Updated examples and example docs
…ching requirements for the forward model tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added:
Modified: