bioniumx.core.BioniumXObject

class bioniumx.core.BioniumXObject[source]

Base class for all Bionium-X scientific data objects.

Provides standard I/O, arithmetic, and metadata handling for TransmissionSpectrum, EmissionSpectrum, and derived products.

Parameters:

subclasses. (Not instantiated directly. Use)

Notes

All subclasses must define _required_attrs listing the array attributes that must be set for the object to be valid.

__init__()

Methods

__init__()

apply_wavelength_mask(wl_min, wl_max)

Return a masked copy of this object within [wl_min, wl_max] microns.

read(filename[, fmt])

Load an object from a file.

write(filename[, fmt])

Save this object to a file.