Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="xBar"></param>
 /// <param name="bcCharac"></param>
 public BoneConductionReferenceGenerator(float[] xBar, BoneConductionCharacterization bcCharac)
 {
     this.xBar   = xBar;
     channelSize = xBar.Length;
     ExtractParameters(bcCharac);
     generatorType = ReferenceGeneratorType.BoneConduction;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="bcCharac"></param>
 private void ExtractParameters(BoneConductionCharacterization bcCharac)
 {
     // Extract all parameters from characterisation file and load into class.
     this.xMin      = bcCharac.xMin;
     this.xMax      = bcCharac.xMax;
     this.gains     = bcCharac.gains;
     this.offset    = bcCharac.offset;
     this.frequency = bcCharac.frequency;
 }