analysis.exceptions

The exceptions module defines custom exception classes specific to the processing of CSP data.

Usage Example

1
2
3
4
5
from analysis.exceptions import NoCSPData, UnobservedFeature

raise NoCSPData('No data was available for a given target.')

raise UnobservedFeature('A given feature is not spanned by a given spectrum.')

Function Documentation

exception analysis.exceptions.NoCSPData[source]

There is no CSP published t0 or E(B - V) value for this target

exception analysis.exceptions.UnobservedFeature[source]

Referencing a spectral feature that is at least partially unobserved.