Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@Kevin2 Kevin2 released this 12 Jun 16:41
· 54 commits to main since this release
3fc7db5

Pyvisgen v0.2.0 (2024-06-12)

API Changes

Bug Fixes

  • fix baseline num calculation
  • fix wavelength scaling
  • fix lm grid calculation
  • fix gridding so that it fits the numpy fft gridding #28

New Features

  • implement GPU support for visibility calculations
  • new grid mode:
    • when more than one visibility falls into the same pixel, only the first is calculated
    • define grid before calculation
  • new dense mode:
    • calculate visibilities for a dense uv grid
    • simulate ideal interferometer response
  • add sensitivity cut in image space:
    • avoid calculation of pixel values below detection threshold
    • significantly speed-up simulations
  • add torch compile to RIME functions #28

Maintenance

  • delete unused code and relicts
  • change from numpy arrays to torch tensors
  • change some of the keywords to more common phrases inside the toml config
  • update default data_set.toml
  • delete old config examples
  • avoid torch einsum for better readability of the code #28

Refactoring and Optimization

  • refactor data classes (Visibilities, Baselines)
  • add observation class, which holds all relevant information
  • drop scan-wise splitting in visibilities calculations, but split all valid baselines equally
  • refactor RIME components (currently only uncorrupted available)
  • refactor baseline calculations by replacing loops with pytorch built-in methods #28