Skip to content

Errors and exceptions

Public exception types raised by torchsky. Each type is also documented on its namespace reference page.

torchsky

PrecisionWarning

A WCS runs in float32 (MPS) with an expected error of half a pixel or more.

torchsky.catalogs

KnownComponentFitError

Unspecified run-time error.

torchsky.sphere

ModeCouplingError

Raised when a mode-coupling system cannot be inverted safely.

SHTCapabilityError

Unspecified run-time error.

torchsky.wcs

AmbiguousPathError

Unspecified run-time error.

AstrometryNetError

Unspecified run-time error.

AstrometryNetExecutionError

Unspecified run-time error.

AstrometryNetHypothesisRejected

Unspecified run-time error.

AstrometryNetIdentityError

Unspecified run-time error.

AstrometryNetUnavailableError

Unspecified run-time error.

CelestialFrameBiasWarning

A resampling path converted between FK5 (J2000) and ICRS.

PrecisionWarning

A WCS runs in float32 (MPS) with an expected error of half a pixel or more.

UnsupportedInverseError

Unspecified run-time error.

UnsupportedPathError

Unspecified run-time error.

WCSHeaderWarning

A header was read under a documented compatibility rule its CTYPE does not state.