spextra.containers module#
Contains database file class and container classes derived from it.
- class spextra.containers.ExtCurveContainer(name: str)#
Bases:
DBFileContainer for extinction curve file.
- Attributes:
curve_commentDeprecated feature.
curve_nameName of the extinction curve.
datafileDeprecated since version 0.44.0.
descriptionDescription or comment of the file as defined in the library.
filenameName and extension of the file.
is_in_libraryReturn True if file is part of the parent library.
- library
pathPath to the cached file.
Methods
remove()Remove the file.
- property curve_comment#
Deprecated feature.
Deprecated since version 0.44.0: Please use the identical
.descriptioninstead!
- class spextra.containers.FilterContainer(name: str)#
Bases:
DBFileContainer for a filter curve file.
- Attributes:
datafileDeprecated since version 0.44.0.
descriptionDescription or comment of the file as defined in the library.
filenameName and extension of the file.
filter_commentDeprecated feature.
filter_nameName of the filter.
is_in_libraryReturn True if file is part of the parent library.
- library
pathPath to the cached file.
Methods
remove()Remove the file.
- property filter_comment#
Deprecated feature.
Deprecated since version 0.44.0: Please use the identical
.descriptioninstead!
- class spextra.containers.SpectrumContainer(name: str)#
Bases:
DBFileContainer for a spectral template file.
- Attributes:
datafileDeprecated since version 0.44.0.
descriptionDescription or comment of the file as defined in the library.
filenameName and extension of the file.
is_in_libraryReturn True if file is part of the parent library.
- library
pathPath to the cached file.
templateName of the spectrum template.
template_commentDeprecated feature.
template_nameDeprecated feature.
Methods
remove()Remove the file.
- property template_comment#
Deprecated feature.
Deprecated since version 0.44.0: Please use the identical
.descriptioninstead!
- property template_name#
Deprecated feature.
Deprecated since version 0.44.0: Please use the identical
.basenameinstead!