{% extends "main.html" %} {% block tabs %} {{ super() }} High-performance FITS I/O Read and write FITS as tensors and tables — cutouts, filters, and a shell CLI. Install Quick start CLI API 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
Read and write FITS as tensors and tables — cutouts, filters, and a shell CLI.
import torchfits tensor = torchfits.read_tensor("science.fits", device="cuda") df = torchfits.table.read("catalog.fits", where="MAG < 20")