Repository navigation
Releases
v0.5.0
What's Changed
- Modified the code so that the extra images that were being generate are no longer being generated.
- Modified the way we were computing
integ_groupsfor different functions, so that it is now consistent throughout the code.- In the
make_lexi_imagesfunction, the final images were not being produced correctly. The units were counts instead of counts/second. Fixed this issue.- In the
make_lexi_imagesfunction, while doing background subtraction, the background was in counts/second however, LEXI counts were just counts. Fixed it now so that they both are in counts/second.- The
array_to_imagefunction, based on the type of input, makes plots with different kinds ofcmap. For example, if it is makinglexiimage, unless a different value ofcmapis provided, it will always useplasma, whereas for sky backgrounds, it will useinferno. If any other key is provided, the function will default to usingviridis.make_lexi_imagesfunction now also returns the values of background arrays, as well as exposure maps.calc_sky_backgroundsfunction now also return the value of exposure maps.- Bumped up code version from 0.4.1 to 0.5.0
- 88 multiple images for a single integration time by @qudsiramiz in #89
- version bump from 0.4.1 to 0.5.0 by @qudsiramiz in #90
Full Changelog: v0.4.1...v0.5.0
v0.4.1
v0.4.0
What's Changed
- removed extra files and made the relevant changes by @qudsiramiz in #86
- 85 renaming lexi bu to lexi xray by @qudsiramiz in #87
Full Changelog: v0.3.4...v0.4.0
v0.3.4
Mostly modified the documentation to reflect the changes because of renaming lexi to lexi_bu
Full Changelog: v0.3.3...v0.3.4
v0.3.3
Mostly minor edits to the Readme.md file. Changed the way the images were being displayed. Now they use GitHub raw user content link instead of the local file locations.
Added lexi to readme.
Added doi from Zenodo.
Added details about citations.
Full Changelog: v0.3.1...v0.3.3
v0.3.2
v0.3.1
v0.3.0
Major change:
Since a package by the name lexi already exists on PyPi, I decided to refactor the code so that we renamed the main folder of LEXI to lexi_bu (earlier it was simply lexi.
The latest version of lexi is available to be installed from PyPi at the following location: https://pypi.org/project/lexi-bu/
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
Description of all the modifications
- Added unittest for most of the functions that are present in the
lexicode. - The
array_to_image_kwargsdefault value was assigned asNonewhich would give error in the case wherearray_to_image_kwargswasn't provided by the user. So, we modified it so thatarray_to_image_kwargsdefaults to an empty dictionary instead ofNone. - Modified the
validate_input, so that when one tries to validatetime_range, with it being eitherdatetime,numberor a mix of it, thetime_rangeis still validated. - Updated different functions, so that now
time_rangeis appropriately validated and the values insidetime_rangeis modified so that the final type of each element oftime_rangeis a datetime object withUTCas a time-zone. - Modified
__init__.pyfile:
a) Changed frompkg_resourcesto `importlib.metadata``
b) Added:
from .lexi import (
validate_input,
download_files_from_github,
get_lexi_data,
get_spc_prams,
get_exposure_maps,
get_sky_backgrounds,
get_lexi_images,
array_to_image,
)
- Modified
lexi.py:
a) Removed:
from lexi import __version__, __doc__
# Add the docstring to the package
__doc__ = __doc__
# Add the version to the package
__version__ = __version__
to avoid circular import error.
- 82 add unittests by @qudsiramiz in #84
Full Changelog: v0.1.0...v0.2.0