BioDynaMo  v1.05.120-25dc9790
Public Member Functions | List of all members
bdm::experimental::DataTransformer Class Referenceabstract

#include <time_series.h>

Inheritance diagram for bdm::experimental::DataTransformer:
[legend]

Public Member Functions

virtual ~DataTransformer ()=default
 
virtual void TransformXValues (const std::vector< real_t > &old_x_values, std::vector< real_t > &new_x_values) const =0
 
virtual void TransformYValues (const std::vector< real_t > &old_y_values, std::vector< real_t > &new_y_values) const =0
 
virtual void TransformYErrorLow (const std::vector< real_t > &old_y_error_low, std::vector< real_t > &new_y_error_low) const =0
 
virtual void TransformYErrorHigh (const std::vector< real_t > &old_y_error_high, std::vector< real_t > &new_y_error_high) const =0
 
 BDM_CLASS_DEF (DataTransformer, 1)
 

Detailed Description

DataTransformer class that can be used to transform the data of a time series entry.

DataTransformer transformer;
ts.AddTransformedData("my-entry", "my-entry-transformed", transformer);

This adds a new entry to the time series with the name "my-entry-transformed" whose data has been transformed according to the member functions.

Definition at line 39 of file time_series.h.

Constructor & Destructor Documentation

◆ ~DataTransformer()

virtual bdm::experimental::DataTransformer::~DataTransformer ( )
virtualdefault

Member Function Documentation

◆ BDM_CLASS_DEF()

bdm::experimental::DataTransformer::BDM_CLASS_DEF ( DataTransformer  ,
 
)

◆ TransformXValues()

virtual void bdm::experimental::DataTransformer::TransformXValues ( const std::vector< real_t > &  old_x_values,
std::vector< real_t > &  new_x_values 
) const
pure virtual

◆ TransformYErrorHigh()

virtual void bdm::experimental::DataTransformer::TransformYErrorHigh ( const std::vector< real_t > &  old_y_error_high,
std::vector< real_t > &  new_y_error_high 
) const
pure virtual

◆ TransformYErrorLow()

virtual void bdm::experimental::DataTransformer::TransformYErrorLow ( const std::vector< real_t > &  old_y_error_low,
std::vector< real_t > &  new_y_error_low 
) const
pure virtual

◆ TransformYValues()

virtual void bdm::experimental::DataTransformer::TransformYValues ( const std::vector< real_t > &  old_y_values,
std::vector< real_t > &  new_y_values 
) const
pure virtual

The documentation for this class was generated from the following file: