Pycrires

Latest version: v0.4.0

Safety actively analyzes 701396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.0

- Added support for Python 3.12, dropped support for Python 3.9
- Updated `Makefile` and `pyproject.toml`

0.3.4

Replaced `setup.py` with `pyproject.toml`

0.3.1

- Fixed sorting of filenames in time when using `glob`
- Save trace plots in *calib/util_trace* instead of *raw* (thanks avigan!)
- Setting manually the wavelength setting with the `wavel_setting` parameter (thanks avigan and DenisAll!)
- Fixed indentation issue in unit tests
- Fixed bug in if-condition that checked for SCIENCE frames
- Fixed issue with master flat not being included since UTIL_MASTER_FLAT is no longer supported
- Added the `create_sof` parameter to the `Pipeline` methods that call an EsoRex routine
- Updated documentation and code style improvements
- Overall maintenance and several minor improvements

0.3.0

- Added support with Python 3.11 and dropped support for Python 3.7 and 3.8
- The `detection_map` method returns the results so it can be manually plotted
- Added `unique_pairs` keyword to `obs_nodding_irregular` for regular nodding sequences that contain multiple exposures per nod (thanks Hoeijmakers!)
- Use static TW files in case they are not available in the data reduction folder
- Maintenance of the `util_genlines` method
- Changed integer type annotation from `np.int64` to generic `np.int_`
- Updated docstrings and type annotations

0.2.0

- Several routines for the calibration and detection of spatially-resolved sources have been included: `remove_starlight`, `remove_systematics`, and `detection_map` (thanks ricolandman!)
- The `obs_nodding_irregular` method has been added for processing data with an irregular nodding scheme (thanks ricolandman!)
- The `obs_staring` method has been added for processing data obtained in staring mode (thanks DGonzalezPicos!)
- The `extraction_required` parameter has been added to the `obs_nodding` routines for faster processing
- The `util` module has been included for utility functions. For example,`load_bt_settl_template` fetches a BT-Settl spectrum that can be used with `detection_map` (thanks ricolandman!)
- Many small improvements to the overall code and documentation

0.1.1

- Improved extraction and wavelength correction for 2D spectra (thanks ricolandman!) with the `custom_extract_2d` and `correct_wavelengths_2d` methods
- Updated documentation and improvements with code style

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.