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.')
|