Skip to content

v1.0.0rc2

Pre-release
Pre-release

Choose a tag to compare

@sfabbro sfabbro released this 18 Jul 18:28

Install

pip install torchfits==1.0.0rc2

Requires Python 3.10+ and PyTorch 2.10. Docs: https://astroai.github.io/torchfits/

Highlights

  • Concurrent FITS reads open a private CFITSIO handle per call (safe under multi-worker DataLoaders and multi-HDU access).
  • Dataset peers: FitsTensorDataset, FitsImageDataset, FitsCubeDataset, FitsSpectrumDataset; configurable TORCHFITS_CACHE_DIR / cache_dir=.
  • CLI short options, probe SSRF hardening (all DNS records + redirect hops), convert/table filters.
  • Contiguous table/image writes, header integer overflow checks, empty-primary MEF compress fix.

Breaking / notes

  • Cross-thread shared fitsfile* handle LRUs are gone (correctness). Metadata/pread caching remains.
  • SemVer 1.0.0 is not this tag — soak on the rc line first.

Links