{% extends "main.html" %} {% block tabs %} {{ super() }}
torchfits

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")
{% endblock %} {% block content %} {{ super() }} {% endblock %}