C# Class ImsInformed.Util.IMSUtil

Datei anzeigen Open project: PNNL-Comp-Mass-Spec/IMS-Informed-Library

Public Methods

Method Description
DeNormalizeDriftTime ( double driftTime, VoltageGroup group ) : double
DeNormalizeDriftTime ( double driftTime, double pressureInTorr, double TemperatureInKelvin ) : double

The de normalize drift time.

IsLastVoltageGroup ( VoltageGroup group, int totalFrames ) : bool

The is last voltage group.

MaxIntensityAfterFrameAccumulation ( VoltageGroup group, DataReader reader ) : double

return the maximum intensity value possible for a given voltage group Note currently supports 8-bit digitizers, proceeds with caution when dealing with 12-bit digitizers

NormalizeDriftTime ( double driftTime, VoltageGroup group ) : double

The normalize drift time.

PadZeroesToPointList ( IList sparsePointList, int destinationSize ) : IList

The pad zeroes to point list.

Private Methods

Method Description
MaxGlobalIntensities ( DataReader reader, int firstScan, int lastScan, int firstBin, int lastBin, int firstFrame, int lastFrame ) : double

Calculate the max global intensities for the given voltage group.

MaxGlobalIntensities ( VoltageGroup group, DataReader reader ) : double

Method Details

DeNormalizeDriftTime() public static method

public static DeNormalizeDriftTime ( double driftTime, VoltageGroup group ) : double
driftTime double
group VoltageGroup
return double

DeNormalizeDriftTime() public static method

The de normalize drift time.
public static DeNormalizeDriftTime ( double driftTime, double pressureInTorr, double TemperatureInKelvin ) : double
driftTime double /// The drift time. ///
pressureInTorr double /// The pressure in torr. ///
TemperatureInKelvin double /// The temperature in kelvin. ///
return double

IsLastVoltageGroup() public static method

The is last voltage group.
public static IsLastVoltageGroup ( VoltageGroup group, int totalFrames ) : bool
group VoltageGroup /// The group. ///
totalFrames int /// The total frames. ///
return bool

MaxIntensityAfterFrameAccumulation() public static method

return the maximum intensity value possible for a given voltage group Note currently supports 8-bit digitizers, proceeds with caution when dealing with 12-bit digitizers
public static MaxIntensityAfterFrameAccumulation ( VoltageGroup group, DataReader reader ) : double
group VoltageGroup /// The group. ///
reader DataReader /// The reader. ///
return double

NormalizeDriftTime() public static method

The normalize drift time.
public static NormalizeDriftTime ( double driftTime, VoltageGroup group ) : double
driftTime double /// The drift time. ///
group VoltageGroup /// The group. ///
return double

PadZeroesToPointList() public static method

The pad zeroes to point list.
public static PadZeroesToPointList ( IList sparsePointList, int destinationSize ) : IList
sparsePointList IList /// The sparse point list. Note that this method is written for sorrted 1D data where LcScan is invariant. ///
destinationSize int /// The destination size. ///
return IList