pykoala.exceptions package

Submodules

pykoala.exceptions.exceptions module

Main exceptions used to trace errors within pykoala.

exception pykoala.exceptions.exceptions.NoneAttrError(attr_name)[source]

Bases: Exception

Exception raised when trying to access to an attributed not provided.

exception pykoala.exceptions.exceptions.ClassError(expected_classes, input_value)[source]

Bases: Exception

Exception raised when providing wrong data

exception pykoala.exceptions.exceptions.MaskError[source]

Bases: Exception

Exceptions raised for errors during data masking.

exception pykoala.exceptions.exceptions.MaskBitError(accepted_values, input_value)[source]

Bases: MaskError

Exception raised when providing wrong bit mask value

exception pykoala.exceptions.exceptions.CorrectionClassError(target_class, wrong_target)[source]

Bases: Exception

Exception class raised for CorrectionBase classes

exception pykoala.exceptions.exceptions.TelluricError[source]

Bases: Exception

Parent exception class raised during telluric correction

exception pykoala.exceptions.exceptions.TelluricNoFileError[source]

Bases: TelluricError

Parent exception class raised during telluric correction

exception pykoala.exceptions.exceptions.FitError[source]

Bases: Exception

Parent exception class raised during telluric correction

exception pykoala.exceptions.exceptions.CalibrationError[source]

Bases: Exception

Exception class raised during flux calibration

Module contents