Asilib

Latest version: v0.25.3

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

Scan your dependencies

Page 1 of 9

0.25.3

Changed
- Moved tests and examples into the top-level directory.
- Updated `pyproject.toml` to automatically run pytest-cov.

0.25.2

Added
- TREx-RGB default `color_bounds`.
- Added `Imager.auto_color_bounds()` to automatically calculate the color bounds based on a few images. This can be combined with `Imager.set_color_bounds()` to adjust the color bounds for a particular event.

Changed
- Removed the `max_contrast` kwarg and now the contrast stretching algorithm is applied to all RGB images. It can be effectively turned off by setting `color_bounds=(0, 255)`.
- Keograms are also contrast stretched
- Simplified `Imager.get_color_bounds()` to return the default color bounds (`self.plot_settings['color_bounds']`).
- Updated baseline images with the new color bounds.

0.25.1

Added
- The `User-Agent` HTTP request header with the name `asilib` made to U. Calgary servers.
- `Imager.get_color_bounds()` and `Imager.set_color_bounds()` methods. Now the color bounds are set for all images within a time_range using a subset of images.

Changed
- `Imagers.animate_map_gen()` will now recalculate overlapping skyamps if one of the imagers turns on or off sometime in `time_range`.
- Fixed a bug with a custom keogram. If the (lat, lon) skymaps define the image edges, the nearest pixels at the edge will give an index out of bounds error.
- Fixed the broken README links.
- Renamed `color_brighten` kwarg to `max_contrast` as it is the correct term for the processing algorithm.

0.25.0

Added
- The Mid-latitude All-sky-imaging Network for Geophysical Observations (MANGO) ASI array data loader.
- MANGO tests and documentation

Changed
- Updated the global coverage map with MANGO.

0.24.1

Changed
- The `_pcolormesh_nan()` function in the imager.py module. This function incorrectly handled skymaps whose FOV was clipped by the CCD at one or more edges (e.g., TREx-RGB). The new implementation includes a `Skymap_Cleaner()` class that handles both: the low elevation masking, as well as removing NaNs from the (lat, lon) skymaps. Removing NaNs is similar to the old implementation, but is now done in polar coordinates. This change necessitated numerous minor refactoring changes in `imager.py` and `imagers.py`.

0.24.0

Changed
- Removed all deprecated asilib functions and their documentation.
- Incremented the pandas version on `docs/requirements.txt` to fix an issue with readthedocs not compiling.

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.