Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of line matching (#182)
* rename and move function to return available line catalogs. * tweak docstring; add initial sketch for LineMatch classes * dev notebook work; more line_matching sketch-up * add ruff config to pyproject for faster linting * remove check for astropy < 3.x * add missing function to __all__ in synth_data.py * make the spatial profile for a traced source a passed argument vs hard-coding Moffat1D. need Gaussian1D for some test cases * codestyle cleanups * flesh out type annotations in synth_data and edit docstrings to reflect that types/defaults are now self-documented by the code * notebook edits * comment out undefined method for now * change relative to absolute imports * remove astropy_helpers vestige; packaging cleanups; set python_requires to >= 3.10 * update tox.ini to reflect new python_requires * update CI workflows * flesh out more type annotations * add support for comma-separated strings to build line catalogs * update dev notebook to reflect some api changes in linelists * flesh out match_lines_wcs; save notebook dev * actually commit dev notebook * loosen typing on match_lines_wcs, but add sanity checking by casting input as np.array which needs to happen, anyway * add routine to find arc lines and centroid them * fix units in match_lines_wcs * allow fwhm to be a float and assume u.pix if so * fix line matching tests to ignore warnings and mark use of remote data * add wavecal_demo notebook * fix some post-merge issues * fix column name to match * demo notebook updates; codestyle fixes * remove old numpy versions from tox.ini that aren't python 3.10 compatible * tweak up min tested scipy version * ignore new datetime warnings in python 3.12 * remove crutches for py312; don't seem to be needed anymore * fix typo; clarify docstring; simplify check * codestyle fix * code now is using features that require python >= 3.10 * add warning to line_matching.py if the matched set is empty * fix codestyle bug; remove mark from fixture in test_line_matching * fix name in workflow
- Loading branch information