%load_ext viztracer
import pandas as pd
from astropy.wcs import WCS
WEEKID = "2025W21_1B"
db = (
pd.read_parquet(f"FITS_DB/{WEEKID}.parq")
.dropna(axis='columns', how="all")
.drop(columns=["history", "OMEGA_MEDIAN", "OMEGA_STDDEV", "PSF_OMEGA"])
)WCS loading benchmark
A small profiling note for loading FITS WCS metadata.
Use this as an implementation note when profiling WCS loading against the repository’s FITS metadata table.
Warning
This is a static benchmark archive. It expects a local FITS_DB Parquet directory and a running VizTracer viewer, so the source cells are not run by the site build. The saved output includes an old port-in-use message and is not a performance claim for current releases.
Source and current API
The notebook code and saved text output are embedded below. You can also download the original notebook. For supported WCS behavior, use the FastTanSipWCS API and offline utilities.
The widget output is not displayed because no widget state was saved. Run the notebook with a local VizTracer viewer to use it.