Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@samaloney samaloney released this 16 Jul 19:59
· 0 commits to main since this release

Xrayvision 0.2.0 (2024-07-16)

Backwards Incompatible Changes

  • Optional parameters are now keyword only for the xrayvision.transform, xrayvision.imaging and xrayvision.visibility modules. Remove natural keyword in favour of scheme keyword which can be either 'natural' or 'uniform'. (#58)
  • Make the software compatible with ~xrayvision.visibility.Visibilities. (#67)

Features

  • Introduce new API for handling visibilities: ~xrayvision.visibility.VisibilitiesABC and ~xrayvision.visibility.VisMetaABC, along with implemented versions of the classes ~xrayvision.visibility.Visibilities and ~xrayvision.visibility.VisMeta. (#55)
  • Add equality operator to ~xrayvision.visibility.Visibilities and ~xrayvision.visibility.VisMeta. (#64)
  • Add __getitem__ and ~xrayvision.visibility.Visibilities.index_by_label methods to slice visibilities by index or based on their label. (#65)

Bug Fixes

  • Fix a bug where the x, y dimensions were not being treated consistently in xrayvision.transform. (#58)
  • Change typing of meta input to ~xrayvision.visibility.Visibilities to be a ~xrayvision.visibilities.VisMeta. (#63)
  • Fix bug when creating ~xrayvision.visibility.Visibilities with default meta. (#66)
  • Fix bug introduced in recent refactor where images were transposed due to array vs cartesian array indexing. (#73)
  • Fix a bug reintroduced in ~xrayvision.mem.mem which caused the output to be transposed incorrectly. (#74)

Improved Documentation

  • Update README fix badges and remove old example. (#53)
  • Add per module reference pages, switch to documenting types using type annotations. (#58)
  • Update RHESSI example to use the same image dimensions and pixel size throughout. (#74)

Trivial/Internal Changes

  • Fix small bug in isort configuration. (#53)
  • Format code with ruff and turn on ruff format in pre-commit. (#61)
  • Update README with useful links to example and issue tracker. (#70)

Xrayvision 0.1.dev60+g6fe95fa.d20210925 (2021-09-25)

No significant changes.