DIY Auto-Correlator 1.0
Auto-Correlator Card implementation using Teensy 4.x microcontrollers.
Public Member Functions | Public Attributes | List of all members
normalizer.Normalizer Class Reference

Public Member Functions

def __init__ (self, lin_corrs, series_size, bin_ratio)
 
def set_mode (self, mode_str)
 
def normalize (self, input_y, *args)
 
def no_norm (self, input_y)
 
def points_norm (self, input_y, points_no)
 
def mean_norm (self, input_y, points_no, accumulate)
 
def __repr__ (self)
 

Public Attributes

 mt_param
 
 points_scale_template
 
 bin_ratio_scale
 
 bin_ratio_scale_sq
 
 tau_values
 
 available_modes
 
 norm_fn
 

Constructor & Destructor Documentation

◆ __init__()

def normalizer.Normalizer.__init__ (   self,
  lin_corrs,
  series_size,
  bin_ratio 
)
        Constructor that accepts multi-tau configuration parameters.

Member Function Documentation

◆ __repr__()

def normalizer.Normalizer.__repr__ (   self)

◆ mean_norm()

def normalizer.Normalizer.mean_norm (   self,
  input_y,
  points_no,
  accumulate 
)
        Returns the mean normalized transformation of the input. Accepts the number of points received by each 
        channel and the mean monitor accumulate. Mean = accumulate / points_no.

◆ no_norm()

def normalizer.Normalizer.no_norm (   self,
  input_y 
)
        Returns a non-normalized sequence. This function does nothing except return its input.

◆ normalize()

def normalizer.Normalizer.normalize (   self,
  input_y,
args 
)
        Callable normalization function - single interface.

◆ points_norm()

def normalizer.Normalizer.points_norm (   self,
  input_y,
  points_no 
)
        Returns the input by dividing it with the number of points received by that particular channel.

◆ set_mode()

def normalizer.Normalizer.set_mode (   self,
  mode_str 
)
        Sets the normalization mode for the normalizer. Accepted modes -> {"no", "points", "mean"}

Member Data Documentation

◆ available_modes

normalizer.Normalizer.available_modes

◆ bin_ratio_scale

normalizer.Normalizer.bin_ratio_scale

◆ bin_ratio_scale_sq

normalizer.Normalizer.bin_ratio_scale_sq

◆ mt_param

normalizer.Normalizer.mt_param

◆ norm_fn

normalizer.Normalizer.norm_fn

◆ points_scale_template

normalizer.Normalizer.points_scale_template

◆ tau_values

normalizer.Normalizer.tau_values

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