#include <ocsOptDataWriter.hh>
OptDataWriter::OptDataWriter | ( | string | InFileName, | |
string | InDir2, | |||
string | Job2, | |||
OptSignal * | Signal2 | |||
) |
References ChannelArrayIndexForPower, ComputeEnergyInBitSlot, ComputeMeanZerosStdDevOnes, ComputeTimeFreqShifts, ComputeTimingJitter, OptSignal::GetCenterFreq(), Job, LogFile, LogFileSeparator(), LOWER_AND_UPPER, LOWER_ONLY, OmitDCFlag, OptSignal::OpenAccumulatedFirstOrderDispersionFile(), OptSignal::OpenAveragePulseWidthFile(), OptSignal::OpenDegreeOfPolarizationFile(), OPTIONAL_NO_WARNING, OPTIONAL_WARNING, OutputStepSizesFlag, PEA, PowerMeter, ReadDouble(), ReadInt(), RelMaxFreqDOP, RelMinFreqDOP, OptSpectrumAnalyzer::SetJob(), OptSignal::SetWriteAccumulatedFirstOrderDispersionFlag(), Signal, TimeIndexIncrement, WriteAccDispFlag, WriteAverageChirpFlag, WriteComplexFieldsFlag, WriteDistanceTimePowerFlag, WriteDistanceTimePowerPhaseFlag, WriteDistanceTimePowerPhaseWithinMapFlag, WriteDistanceTimePowerWithinMapFlag, WriteDOPFlag, WriteFinalOptDataFlag, WriteInitialOptDataFlag, WriteLocalFreqFlag, WritePowerChannelFlag, WritePowerMapFlag, WritePulseWidthFlag, and WritePulseWidthInFiberFlag.
int OptDataWriter::GetComputeEnergyInBitSlot | ( | ) | [inline] |
bool OptDataWriter::GetComputeMeanZerosStdDevOnes | ( | ) | [inline] |
References ComputeMeanZerosStdDevOnes.
int OptDataWriter::GetOutputStepSizesFlag | ( | ) | [inline] |
References OutputStepSizesFlag.
Referenced by PostDispCompSubSystem::ApplyPostDispCompUMBCCienaLoopApr2001().
int OptDataWriter::GetWritePulseWidthInFiberFlag | ( | ) | [inline] |
References WritePulseWidthInFiberFlag.
Referenced by PostDispCompSubSystem::ApplyPostDispCompUMBCCienaLoopApr2001().
void OptDataWriter::TurnOffWriteFlags | ( | int | expt_num | ) |
References OptSignal::CloseAccumulatedFirstOrderDispersionFile(), OptSignal::CloseAveragePulseWidthFile(), OptSignal::ResetAccumulatedFirstOrderDispersionToZero(), OptSignal::SetWriteAccumulatedFirstOrderDispersionFlag(), Signal, WriteDOPFlag, and WritePulseWidthFlag.
Referenced by WriteEndTransmission().
void OptDataWriter::WriteEndMap | ( | int | expt_num, | |
int | map_number, | |||
double | PropagatedLength | |||
) |
References PulseEvolutionAnalyzer::ApplyPulseAnalyzer(), ChannelArrayIndexForPower, ComputeEnergyInBitSlot, ComputeMeanZerosStdDevOnes, ComputeTimeFreqShifts, ComputeTimingJitter, Job, NumSlicesZ, PEA, PowerMeter, RelMaxFreqDOP, RelMinFreqDOP, OptSpectrumAnalyzer::RunPowerMeter(), Signal, TimeIndexIncrement, WriteAccDispFlag, OptSignal::WriteAccumulatedFirstOrderDispersion(), OptSignal::WriteAveragePulseWidth(), OptSignal::WriteDegreeOfPolarization(), WriteDistanceTimePowerFlag, WriteDistanceTimePowerPhaseFlag, OptSignal::WriteDistTimePower(), OptSignal::WriteDistTimePowerPhase(), WriteDOPFlag, WritePowerChannelFlag, OptSignal::WritePowerdBmChannel(), WritePowerFlag, WritePowerMapFlag, and WritePulseWidthFlag.
Referenced by WriteEndTransmission().
void OptDataWriter::WriteEndTransmission | ( | int | expt_num, | |
int | map_number, | |||
double | PropagatedLength | |||
) |
References Job, OmitDCFlag, RelMaxFreqDOP, RelMinFreqDOP, Signal, TurnOffWriteFlags(), OptSignal::WriteComplexFields(), WriteComplexFieldsFlag, OptSignal::WriteDegreeOfPolarization(), WriteDOPFlag, WriteEndMap(), OptSignal::WriteFileFreqPower(), OptSignal::WriteFileTimePower(), WriteFinalOptDataFlag, WriteLocalFreqFlag, and OptSignal::WriteLocalFrequencyAndChirp().
void OptDataWriter::WriteInitialData | ( | void | ) |
References PulseEvolutionAnalyzer::ApplyPulseAnalyzer(), ChannelArrayIndexForPower, ComputeEnergyInBitSlot, ComputeMeanZerosStdDevOnes, ComputeTimeFreqShifts, ComputeTimingJitter, Job, NumSlicesZ, OmitDCFlag, PEA, PowerMeter, RelMaxFreqDOP, RelMinFreqDOP, OptSpectrumAnalyzer::RunPowerMeter(), Signal, TimeIndexIncrement, WriteAccDispFlag, OptSignal::WriteAccumulatedFirstOrderDispersion(), OptSignal::WriteDegreeOfPolarization(), WriteDistanceTimePowerFlag, WriteDistanceTimePowerPhaseFlag, OptSignal::WriteDistTimePower(), OptSignal::WriteDistTimePowerPhase(), WriteDOPFlag, OptSignal::WriteFileFreqPower(), OptSignal::WriteFileTimePower(), WriteInitialOptDataFlag, WriteLocalFreqFlag, OptSignal::WriteLocalFrequencyAndChirp(), WritePowerChannelFlag, OptSignal::WritePowerdBmChannel(), and WritePowerMapFlag.
void OptDataWriter::WriteWithinMap | ( | int | expt_num, | |
int | map_number, | |||
double | PropagatedLength | |||
) |
References PulseEvolutionAnalyzer::ApplyPulseAnalyzer(), ChannelArrayIndexForPower, ComputeEnergyInBitSlot, ComputeMeanZerosStdDevOnes, ComputeTimeFreqShifts, ComputeTimingJitter, Job, NumSlicesZ, PEA, PowerMeter, RelMaxFreqDOP, RelMinFreqDOP, OptSpectrumAnalyzer::RunPowerMeter(), Signal, TimeIndexIncrement, WriteAccDispFlag, OptSignal::WriteAccumulatedFirstOrderDispersion(), OptSignal::WriteAveragePulseWidth(), OptSignal::WriteDegreeOfPolarization(), WriteDistanceTimePowerFlag, WriteDistanceTimePowerPhaseFlag, WriteDistanceTimePowerPhaseWithinMapFlag, WriteDistanceTimePowerWithinMapFlag, OptSignal::WriteDistTimePower(), OptSignal::WriteDistTimePowerPhase(), WriteDOPFlag, WritePowerChannelFlag, OptSignal::WritePowerdBmChannel(), WritePowerFlag, WritePowerMapFlag, and WritePulseWidthFlag.
int OptDataWriter::ChannelArrayIndexForPower [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
int OptDataWriter::ComputeEnergyInBitSlot [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::ComputeMeanZerosStdDevOnes [private] |
Referenced by GetComputeMeanZerosStdDevOnes(), OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::ComputeTimeFreqShifts [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::ComputeTimingJitter [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
string OptDataWriter::Job [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteEndTransmission(), WriteInitialData(), and WriteWithinMap().
int OptDataWriter::NumSlicesZ [private] |
Referenced by WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::OmitDCFlag [private] |
Referenced by OptDataWriter(), WriteEndTransmission(), and WriteInitialData().
int OptDataWriter::OutputStepSizesFlag [private] |
Referenced by GetOutputStepSizesFlag(), and OptDataWriter().
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
OptSpectrumAnalyzer* OptDataWriter::PowerMeter [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
double OptDataWriter::RelMaxFreqDOP [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteEndTransmission(), WriteInitialData(), and WriteWithinMap().
double OptDataWriter::RelMinFreqDOP [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteEndTransmission(), WriteInitialData(), and WriteWithinMap().
OptSignal* OptDataWriter::Signal [private] |
Referenced by OptDataWriter(), TurnOffWriteFlags(), WriteEndMap(), WriteEndTransmission(), WriteInitialData(), and WriteWithinMap().
int OptDataWriter::TimeIndexIncrement [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WriteAccDispFlag [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WriteAverageChirpFlag [private] |
Referenced by OptDataWriter().
bool OptDataWriter::WriteComplexFieldsFlag [private] |
Referenced by OptDataWriter(), and WriteEndTransmission().
bool OptDataWriter::WriteDistanceTimePowerFlag [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WriteDistanceTimePowerPhaseFlag [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WriteDistanceTimePowerPhaseWithinMapFlag [private] |
Referenced by OptDataWriter(), and WriteWithinMap().
bool OptDataWriter::WriteDistanceTimePowerWithinMapFlag [private] |
Referenced by OptDataWriter(), and WriteWithinMap().
bool OptDataWriter::WriteDOPFlag [private] |
Referenced by OptDataWriter(), TurnOffWriteFlags(), WriteEndMap(), WriteEndTransmission(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WriteFinalOptDataFlag [private] |
Referenced by OptDataWriter(), and WriteEndTransmission().
bool OptDataWriter::WriteInitialOptDataFlag [private] |
Referenced by OptDataWriter(), and WriteInitialData().
bool OptDataWriter::WriteLocalFreqFlag [private] |
Referenced by OptDataWriter(), WriteEndTransmission(), and WriteInitialData().
bool OptDataWriter::WritePowerChannelFlag [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WritePowerFlag [private] |
Referenced by WriteEndMap(), and WriteWithinMap().
bool OptDataWriter::WritePowerMapFlag [private] |
Referenced by OptDataWriter(), WriteEndMap(), WriteInitialData(), and WriteWithinMap().
bool OptDataWriter::WritePulseWidthFlag [private] |
Referenced by OptDataWriter(), TurnOffWriteFlags(), WriteEndMap(), and WriteWithinMap().
int OptDataWriter::WritePulseWidthInFiberFlag [private] |
Referenced by GetWritePulseWidthInFiberFlag(), and OptDataWriter().