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.
datafileName and extension of the file.
descriptionDescription or comment of the file as defined in the library.
filenameDeprecated feature.
is_in_libraryReturn True if file is part of the parent library.
- library
nameDeprecated feature.
pathPath to the cached file.
Methods
remove()Remove the file.
- property curve_comment#
Deprecated feature.
- class spextra.containers.FilterContainer(name: str)#
Bases:
DBFileContainer for a filter curve file.
- Attributes:
datafileName and extension of the file.
descriptionDescription or comment of the file as defined in the library.
filenameDeprecated feature.
filter_commentDeprecated feature.
filter_nameName of the filter.
is_in_libraryReturn True if file is part of the parent library.
- library
nameDeprecated feature.
pathPath to the cached file.
Methods
remove()Remove the file.
- property filter_comment#
Deprecated feature.
- class spextra.containers.SpectrumContainer(name: str)#
Bases:
DBFileContainer for a spectral template file.
- Attributes:
datafileName and extension of the file.
descriptionDescription or comment of the file as defined in the library.
filenameDeprecated feature.
is_in_libraryReturn True if file is part of the parent library.
- library
nameDeprecated feature.
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.
- property template_name#
Deprecated feature.