various improvements july26 - #59
Open
DanPorter wants to merge 12 commits into
Open
Conversation
## spectra_analysis.py - add find_shift ## spectra.py - add shift() ## spectra_container.py - add align_spectra to average and subtraction - add plot() ## tests - add tests
## hdfmap_generic.py - add ROI_SUFFIXES ## nexus_scan.py - add rois() ## nxxas_loader.py - add custom ROI on i16 vortext load.
## experiment.py - replaced _scan_numbers with all_scan_numbers - allow scans to be loaded from NexusScan objects - add get_scan_number() - add get_nearby_scan_numbers() - improved find_scans - add get_value_changes() Add examples and tests. All tests pass. ## xas/container_functions.py - add find_similar_measurements
Fix for #51
Also add tests for NexusScan and improve doc strings
## nexus_scan.py - add NexusScan.start_end_duration() - add default to NexusScan.times() - add NexusScan.get_scan_time() ## file_functions.py - add get_file_time() ## exp_plot_manager.py - add use_time option to ExperimentPlotManager.metadata
## nexus_scan.py - add NexusScan.replace_default_names() ## misc_functions.py - add multi_replace() ## fit_functions.py - add guess for model_fit() ## fitting/results.py - add yinit parameter ## Examples - improve example_peak_fits.py - improve peak_fitting.md - add example_peak_fits2.py as old version
## nexus_scan.py - add NexusScan.replace_default_names() - change to NexusScan.get_plot_axis() to include expressions. ## misc_functions.py - add multi_replace() ## fit_functions.py - add guess for model_fit() ## fitting/results.py - add yinit parameter ## Examples - improve example_peak_fits.py - improve peak_fitting.md - add example_peak_fits2.py as old version
…26' into dp/various_xas_improvements_july26 # Conflicts: # mmg_toolbox/nexus/nexus_scan.py
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.
Various improvements and fixes, plus additions to the documentation and examples.
Alignment for XAS Spectra
ROI definition improvements
2D mesh grids
NexusScan Time functions
NexusScan improvements