astrodata.data.processors package¶
Submodules¶
astrodata.data.processors.base module¶
- class astrodata.data.processors.base.AbstractProcessor(**kwargs)¶
Bases:
ABC
An abstract base class for data processors.
Subclasses must implement the process method to define how the input RawData is processed.
- process(raw
RawData) -> RawData: Abstract method to process the input RawData and return a new RawData object.
astrodata.data.processors.common module¶
- class astrodata.data.processors.common.DropDuplicates(**kwargs)¶
Bases:
AbstractProcessor
A processor that removes duplicate rows from the data.
- process(raw
RawData) -> RawData: Drops duplicate rows in the RawData object and returns the updated object.
- class astrodata.data.processors.common.NormalizeAndSplit(**kwargs)¶
Bases:
AbstractProcessor
A processor that normalizes the data by subtracting the mean and dividing by the standard deviation.
- process(raw
RawData) -> RawData: Normalizes the data in the RawData object and returns the updated object.