#include <PulseEvolutionAnalyzer.hh>
PulseEvolutionAnalyzer::PulseEvolutionAnalyzer | ( | OptSignal * | PropagatingSignal2, | |
string | InDir, | |||
string | Job2, | |||
bool | ComputeTimeFreqShifts2, | |||
bool | ComputeTimingJitter2, | |||
bool | ComputeMeanZerosStdDevOnes2, | |||
int | ComputeEnergyInBitSlot2 | |||
) |
References CompressedSignal, ComputeEnergyInBitSlot, ComputeMeanZerosStdDevOnes, ComputeTimeFreqShifts, ComputeTimingJitter, BitString::GetBit(), OptSignal::GetStringLength(), HistogramOnes, HistogramZeros, Job, LeadingPulseBitSlot, LeftTimeOne, LeftTimeZero, LinearFiber, LOWER_ONLY, MANDATORY, OptSignal::oBitString, PropagatingSignal, ReadDouble(), RightTimeOne, RightTimeZero, OptSignal::RNG, OptFiberLocalError::SetFiberLength(), TrailingPulse, and TrailingPulseBitSlot.
void PulseEvolutionAnalyzer::ApplyPulseAnalyzer | ( | double | PropagatedLength2 | ) |
References ComputeEnergyInBitSlot, ComputeFreqShift(), ComputeMaxPower(), ComputeMeanZerosStdDevOnes, ComputePulseEnergyStats(), ComputeTimeFreqShifts, ComputeTimeShift(), ComputeTimingJitter, Job, LinearlyCompressPulses(), PropagatedLength, SeparatePulses(), WriteEnergyInBitSlot(), WriteMeanZerosStdDevOnes(), and WriteTimeFreqShifts().
Referenced by OptDataWriter::WriteEndMap(), OptDataWriter::WriteInitialData(), and OptDataWriter::WriteWithinMap().
void PulseEvolutionAnalyzer::ComputeFreqShift | ( | void | ) |
References CompressedSignal, OptSignal::ComputeMeanFreqSignal(), LeadPulseFreqShift, TrailingPulse, and TrailPulseFreqShift.
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::ComputeMaxPower | ( | void | ) |
References CompressedSignal, OptSignal::ComputeMaxPower(), OptSignal::GetTotalEnergy(), LeadPulseMaxPower, TrailingPulse, and TrailPulseMaxPower.
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::ComputePulseEnergyStats | ( | void | ) |
References Histogram::AddSample(), Histogram::ClearHistogram(), CompressedSignal, BitString::GetBit(), OptSignal::GetBitLength(), OptSignal::GetEnergyInTimeRange(), OptSignal::GetStringLength(), OptSignal::GetTimeWindow(), HistogramOnes, HistogramZeros, LeftTimeOne, LeftTimeZero, oBitString, RightTimeOne, and RightTimeZero.
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::ComputeTimeShift | ( | void | ) |
bool PulseEvolutionAnalyzer::GetComputeMeanZerosStdDevOnesFlag | ( | void | ) | [inline] |
void PulseEvolutionAnalyzer::IsolatePulse | ( | OptSignal * | FullSignal, | |
OptSignal * | SinglePulse, | |||
int | BitSlotSinglePulse | |||
) |
References OptSignal::GetQtPoints(), OptSignal::GetStringLength(), OptSignal::sfftM, OptSignal::Time2Freq(), fftMatrices::tOptSignalX, and fftMatrices::tOptSignalY.
Referenced by SeparatePulses().
void PulseEvolutionAnalyzer::LinearlyCompressPulses | ( | void | ) |
References CompressedSignal, OptSignal::GetAccumulatedFirstOrderDispersion(), OptSignal::GetAccumulatedSecondOrderDispersion(), LinearFiber, OptFiberLocalError::Propagate(), PropagatingSignal, OptFiberLocalError::SetFstOrDispFiber(), and OptFiberLocalError::SetSndOrDispFiber().
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::SeparatePulses | ( | void | ) |
References CompressedSignal, IsolatePulse(), LeadingPulseBitSlot, TrailingPulse, and TrailingPulseBitSlot.
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::SetBitString | ( | BitString * | oBitString2 | ) |
References oBitString.
void PulseEvolutionAnalyzer::WriteEnergyInBitSlot | ( | string | OutFileName | ) |
References CompressedSignal, ComputeEnergyInBitSlot, OptSignal::GetBitLength(), OptSignal::GetEnergyInTimeRange(), OptSignal::GetTotalEnergy(), LeftTimeZero, PropagatedLength, and RightTimeZero.
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::WriteMeanZerosStdDevOnes | ( | string | OutFileName | ) |
References Histogram::GetMean(), Histogram::GetStdDev(), HistogramOnes, HistogramZeros, and PropagatedLength.
Referenced by ApplyPulseAnalyzer().
void PulseEvolutionAnalyzer::WriteTimeFreqShifts | ( | string | OutFileName | ) |
References LeadPulseFreqShift, LeadPulseMaxPower, LeadPulseTimeShift, PropagatedLength, TrailPulseFreqShift, TrailPulseMaxPower, and TrailPulseTimeShift.
Referenced by ApplyPulseAnalyzer().
int PulseEvolutionAnalyzer::ComputeEnergyInBitSlot [private] |
Referenced by ApplyPulseAnalyzer(), PulseEvolutionAnalyzer(), and WriteEnergyInBitSlot().
bool PulseEvolutionAnalyzer::ComputeMeanZerosStdDevOnes [private] |
Referenced by ApplyPulseAnalyzer(), and PulseEvolutionAnalyzer().
bool PulseEvolutionAnalyzer::ComputeTimeFreqShifts [private] |
Referenced by ApplyPulseAnalyzer(), and PulseEvolutionAnalyzer().
bool PulseEvolutionAnalyzer::ComputeTimingJitter [private] |
Referenced by ApplyPulseAnalyzer(), and PulseEvolutionAnalyzer().
Histogram* PulseEvolutionAnalyzer::HistogramOnes [private] |
Referenced by ComputePulseEnergyStats(), PulseEvolutionAnalyzer(), and WriteMeanZerosStdDevOnes().
Histogram* PulseEvolutionAnalyzer::HistogramZeros [private] |
Referenced by ComputePulseEnergyStats(), PulseEvolutionAnalyzer(), and WriteMeanZerosStdDevOnes().
string PulseEvolutionAnalyzer::Job [private] |
Referenced by ApplyPulseAnalyzer(), and PulseEvolutionAnalyzer().
int PulseEvolutionAnalyzer::LeadingPulseBitSlot [private] |
Referenced by ComputeTimeShift(), PulseEvolutionAnalyzer(), and SeparatePulses().
double PulseEvolutionAnalyzer::LeadPulseFreqShift [private] |
Referenced by ComputeFreqShift(), and WriteTimeFreqShifts().
double PulseEvolutionAnalyzer::LeadPulseMaxPower [private] |
Referenced by ComputeMaxPower(), and WriteTimeFreqShifts().
double PulseEvolutionAnalyzer::LeadPulseTimeShift [private] |
Referenced by ComputeTimeShift(), and WriteTimeFreqShifts().
double PulseEvolutionAnalyzer::LeftTimeOne [private] |
Referenced by ComputePulseEnergyStats(), and PulseEvolutionAnalyzer().
double PulseEvolutionAnalyzer::LeftTimeZero [private] |
Referenced by ComputePulseEnergyStats(), PulseEvolutionAnalyzer(), and WriteEnergyInBitSlot().
Referenced by LinearlyCompressPulses(), and PulseEvolutionAnalyzer().
double PulseEvolutionAnalyzer::MeanOnes [private] |
double PulseEvolutionAnalyzer::MeanZeros [private] |
BitString* PulseEvolutionAnalyzer::oBitString [private] |
Referenced by ComputePulseEnergyStats(), and SetBitString().
double PulseEvolutionAnalyzer::PropagatedLength [private] |
Referenced by ApplyPulseAnalyzer(), WriteEnergyInBitSlot(), WriteMeanZerosStdDevOnes(), and WriteTimeFreqShifts().
Referenced by LinearlyCompressPulses(), and PulseEvolutionAnalyzer().
double PulseEvolutionAnalyzer::RightTimeOne [private] |
Referenced by ComputePulseEnergyStats(), and PulseEvolutionAnalyzer().
double PulseEvolutionAnalyzer::RightTimeZero [private] |
Referenced by ComputePulseEnergyStats(), PulseEvolutionAnalyzer(), and WriteEnergyInBitSlot().
double PulseEvolutionAnalyzer::StdDevOnes [private] |
OptSignal* PulseEvolutionAnalyzer::TrailingPulse [private] |
Referenced by ComputeFreqShift(), ComputeMaxPower(), ComputeTimeShift(), PulseEvolutionAnalyzer(), and SeparatePulses().
int PulseEvolutionAnalyzer::TrailingPulseBitSlot [private] |
Referenced by ComputeTimeShift(), PulseEvolutionAnalyzer(), and SeparatePulses().
double PulseEvolutionAnalyzer::TrailPulseFreqShift [private] |
Referenced by ComputeFreqShift(), and WriteTimeFreqShifts().
double PulseEvolutionAnalyzer::TrailPulseMaxPower [private] |
Referenced by ComputeMaxPower(), and WriteTimeFreqShifts().
double PulseEvolutionAnalyzer::TrailPulseTimeShift [private] |
Referenced by ComputeTimeShift(), and WriteTimeFreqShifts().