ElektLabs.ElSignalTransform

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Properties | List of all members
ElektLabs.ElSignalTransform.Signal Class Reference

basic claas for define signal More...

## Public Member Functions
| Signal (int samplesCount)
| Samples count can be defined at Constructor to create enougth large Sample list to avoid List resize and many memory alocation operations. More...
Signal | SubSignal (double start, double end)
| Get specified part of input signal. like Substring function for string. More...
Signal | Abs ()
| Compute absolut value of X in each sample of signal. More...
Signal | Scale (double scaleFactor)
| Multiply Y value of each sample by given scale factor More...
Signal | Offset (double offset)
| Add given offset to Y value of each sample More...
List< double > | ExtractYvalues ()
| Copy Y values of all samples into List of double More...
Signal | MirrorY ()
| Mirror signal over Y axis More...
Signal | MirrorX ()
| Mirror signal over X axis More...
override string | ToString ()

## Public Attributes
List< Sample > | samples
string | Name
bool | IsEquidistant
bool | IsContinuous
double | FilterEpsilon
double | MaxSamplePeriod
double | MinSamplePeriod
double | SamplePeriod

## Properties
int | SamplesCount`[get]`

## Detailed Description

basic claas for define signal

## Constructor & Destructor Documentation

ElektLabs.ElSignalTransform.Signal.Signal | ( | int | samplesCount | ) |

Samples count can be defined at Constructor to create enougth large Sample list to avoid List resize and many memory alocation operations.

Parameters

  samplesCount | Expected count of samples

## Member Function Documentation

Signal ElektLabs.ElSignalTransform.Signal.Abs | ( |  | ) |

Compute absolut value of X in each sample of signal.

Parameters

  inputSignal |

Returns

List<double> ElektLabs.ElSignalTransform.Signal.ExtractYvalues | ( |  | ) |

Copy Y values of all samples into List of double

Parameters

  inputSignal |

Returns

Signal ElektLabs.ElSignalTransform.Signal.MirrorX | ( |  | ) |

Mirror signal over X axis

Parameters

  s |

Returns

Signal ElektLabs.ElSignalTransform.Signal.MirrorY | ( |  | ) |

Mirror signal over Y axis

Parameters

  s |

Returns

Signal ElektLabs.ElSignalTransform.Signal.Offset | ( | double | offset | ) |

Add given offset to Y value of each sample

Parameters

  inputSignal |
  offset |

Returns

Signal ElektLabs.ElSignalTransform.Signal.Scale | ( | double | scaleFactor | ) |

Multiply Y value of each sample by given scale factor

Parameters

  inputSignal |
  scaleFactor |

Returns

Signal ElektLabs.ElSignalTransform.Signal.SubSignal | ( | double | start,
|  | double | end
| ) |  |

Get specified part of input signal. like Substring function for string.

Parameters

  s | input Signal
  start | start point, Only samples with Y eqal or grater than start will be put in result
  end | end point, Only samples with Y lower or eqal end will be put in result

Returns

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

- D:/Dokumenty/libnet/ElektLabs.ElSignalTransform/Signal.cs