Skip to content

Releases

v0.5.0

Choose a tag to compare

@qudsiramiz qudsiramiz released this 09 Jan 17:19
e053ff9

What's Changed

  1. Modified the code so that the extra images that were being generate are no longer being generated.
  2. Modified the way we were computing integ_groups for different functions, so that it is now consistent throughout the code.
  3. In the make_lexi_images function, the final images were not being produced correctly. The units were counts instead of counts/second. Fixed this issue.
  4. In the make_lexi_images function, 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.
  5. The array_to_image function, based on the type of input, makes plots with different kinds of cmap. For example, if it is making lexi image, unless a different value of cmap is provided, it will always use plasma, whereas for sky backgrounds, it will use inferno. If any other key is provided, the function will default to using viridis.
  6. make_lexi_images function now also returns the values of background arrays, as well as exposure maps.
  7. calc_sky_backgrounds function now also return the value of exposure maps.
  8. Bumped up code version from 0.4.1 to 0.5.0

Full Changelog: v0.4.1...v0.5.0

v0.4.1

Choose a tag to compare

@qudsiramiz qudsiramiz released this 06 Jan 23:10

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@qudsiramiz qudsiramiz released this 06 Jan 21:57

What's Changed

Full Changelog: v0.3.4...v0.4.0

v0.3.4

Choose a tag to compare

@qudsiramiz qudsiramiz released this 01 Jan 22:42

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

Choose a tag to compare

@qudsiramiz qudsiramiz released this 31 Dec 17:35

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

Choose a tag to compare

@qudsiramiz qudsiramiz released this 31 Dec 16:15

Full Changelog: v0.3.0...v0.3.2

v0.3.1

Choose a tag to compare

@qudsiramiz qudsiramiz released this 31 Dec 15:56

Full Changelog: v0.3.0...v0.3.1

v0.3.0

Choose a tag to compare

@qudsiramiz qudsiramiz released this 31 Dec 02:05

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

Choose a tag to compare

@qudsiramiz qudsiramiz released this 30 Dec 22:05

What's Changed

Description of all the modifications

  1. Added unittest for most of the functions that are present in the lexi code.
  2. The array_to_image_kwargs default value was assigned as None which would give error in the case where array_to_image_kwargs wasn't provided by the user. So, we modified it so that array_to_image_kwargs defaults to an empty dictionary instead of None.
  3. Modified the validate_input, so that when one tries to validate time_range, with it being either datetime, number or a mix of it, the time_range is still validated.
  4. Updated different functions, so that now time_range is appropriately validated and the values inside time_range is modified so that the final type of each element of time_range is a datetime object with UTC as a time-zone.
  5. Modified __init__.py file:
    a) Changed from pkg_resources to `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,
)
  1. 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.

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@qudsiramiz qudsiramiz released this 25 Dec 00:54

Full Changelog: v0.0.4...v0.1.0