1 #ifndef DYSCO_WEIGHT_COLUMN_H
2 #define DYSCO_WEIGHT_COLUMN_H
35 double distributionTruncation)
override;
39 const float *metaBuffer,
size_t nRow,
43 size_t blockRow,
size_t a1,
size_t a2)
override;
49 virtual void encode(ThreadDataBase *threadData,
55 size_t )
const override {
56 return _encoder->MetaDataFloatCount();
60 size_t )
const override {
size_t nRowsInBlock() const
The main class for the Dysco storage manager.
A column for storing compressed complex values with an approximate Gaussian distribution.
virtual ~DyscoWeightColumn()
Destructor.
DyscoWeightColumn(DyscoStMan *parent, int dtype)
Create a new column.
virtual void decode(TimeBlockBuffer< data_t > *buffer, const symbol_t *data, size_t blockRow, size_t a1, size_t a2) override
virtual size_t symbolCount(size_t nRowsInBlock, size_t, size_t) const override
DyscoWeightColumn(const DyscoWeightColumn &source)=delete
void operator=(const DyscoWeightColumn &source)=delete
std::unique_ptr< WeightBlockEncoder > _encoder
virtual void Prepare(DyscoDistribution distribution, Normalization normalization, double studentsTNu, double distributionTruncation) override
virtual void encode(ThreadDataBase *threadData, TimeBlockBuffer< data_t > *buffer, float *metaBuffer, symbol_t *symbolBuffer, size_t nAntennae) override
virtual void initializeDecode(TimeBlockBuffer< data_t > *buffer, const float *metaBuffer, size_t nRow, size_t nAntennae) override
virtual std::unique_ptr< ThreadDataBase > initializeEncodeThread() override
virtual size_t metaDataFloatCount(size_t, size_t, size_t, size_t) const override
A column for storing compressed values in a threaded way, tailored for the data and weight columns th...
TimeBlockBuffer< data_t >::symbol_t symbol_t
virtual void shutdown() override final