{% extends "main.html" %} {% block tabs %} {{ super() }} High-performance FITS I/O to PyTorch tensors and dataframes — FITS tables as columnar catalogs. Install Quick start CLI import torchfits tensor = torchfits.read_tensor("science.fits", device="cuda") df = torchfits.table.read("catalog.fits", where="MAG < 20") {% endblock %} {% block content %} {{ super() }} {% endblock %}
High-performance FITS I/O
to PyTorch tensors and dataframes — FITS tables as columnar catalogs.
import torchfits tensor = torchfits.read_tensor("science.fits", device="cuda") df = torchfits.table.read("catalog.fits", where="MAG < 20")