Variables

ocsConst.cc File Reference

#include "ocsConst.hh"

Variables

const double pi = 4*atan( (double) 1)
const double LightSpeed = 299792458
const double hPlanck = 6.6260755e-34
const cplx jc = cplx(0.,1.)

Variable Documentation

const double hPlanck = 6.6260755e-34
const cplx jc = cplx(0.,1.)

Referenced by OptSignal::AddCWSignal(), RamanAmp::AddNoise(), Photodetector::AddShotNoise(), Photodetector::AddShotNoiseOLD(), OptAmplifier::AmplifyHomogeneous(), OptAmplifier::AmplifyOptSignalScalar(), OptAmplifier::AmplifyOptSignalVector(), OptAmplifier::AmplifyOptSignalVectorWithGainProfile(), ElecFilter::AnritsuFilter(), ElecFilter::AnritsuFilterPaola(), ChiSquareReceiverPsiCplx(), OptSignal::ConstantPhaseShift(), OptSignal::EOM_MachZehnderModulatorElecNRZ(), OptSignal::EOM_MachZehnderModulatorOptData(), OptSignal::EOM_MachZehnderModulatorOptNRZOLD(), OptSignal::EOM_PhaseModulator(), ElecEqualizer::EqualizeBitIntensityWienerCplx(), OptFilter::FabryPerotFilter(), OptFiberLocalError::FiberAmplifierAddMonteCarloNoise(), OptSignal::FreqShiftSignal(), OptSignal::GenerateSignalStringCSRZMachZehnderModulatorOLD(), OptSignal::GenerateSignalStringGaussianOrSech(), OptSignal::GenerateSignalStringGaussianOrSechWithPhaseShift(), OptSignal::GenerateSignalStringNRZ_RCOS_MachZehnderModulator(), OptSignal::GenerateSignalStringQPSK_CW(), OptSignal::GenerateSignalStringQPSK_DPMZ_PM_NRZ(), OptSignal::GenerateSignalStringQPSK_Gaussian(), OptSignal::GenerateSignalStringQPSK_SEQ_PM_NRZ(), OptSignal::GenerateSignalStringRaisedCosines(), OptSignal::GenerateSignalStringRaisedCosinesWithPhaseShift(), OptSignal::GenerateSignalStringRZ33MachZehnderModulatorOLD(), OptSignal::GenerateSignalStringRZ50MachZehnderModulatorOLD(), OptSignal::GenerateSignalStringRZGaussianPattern(), OptSignal::GenerateSignalStringUsingInputSequence(), OptSignal::GetDegreeOfPolarization(), OptSignal::GetDegreeOfPolarizationAndTotalStokesFreqDomain(), OptFiber::GetDGD_Manakov(), OptFiber::GetEulerMatrix(), OptFiberLocalError::GetEulerMatrix(), GetPhase(), OptSignal::GetRandomJones(), OptFiber::GetRxRzRyMatrix(), OptFiber::GetRxRzRyRzRyMatrix(), OptFiber::GetRyRzRyMatrix(), OptFiber::GetRzRxRzRyRzRyMatrix(), OptSignal::GetTotalStokesParameters(), OptSignal::GetTotalStokesParametersInBandwidth(), OptSignal::GetTotalStokesParametersInTime(), OptSignal::InitializeFirstOrderPMDSignal(), Jones2Stokes(), JonesPair2MixedStokes(), MachZehnder::MZModulator(), MachZehnder::PhaseModulator(), PolarizBeamSplitter::PolarizSplitOptSignal(), OptFiber::PropagateFiberCoupledNLS(), OptFiber::PropagateFiberCoupledNLSFreqDomainOnly(), OptFiber::PropagateFiberDecoupledNLS(), OptFiber::PropagateFiberScalarNLS(), OptFiber::PropagateFiberScalarNLSWriteData(), OptFiber::PropagateFullNonlinearFiberCoupledNLS(), RamanAmp::PropagateNoise(), RamanAmp::PropagateSignalandNoise(), OptAmplifier::PropagateSignalandNoise(), NoiseCovariance::Propagator(), OptSignal::ReadComplexFields(), OptSignal::ReadComplexFieldsX(), OptSignal::ReadFileComplexFieldsTimeAndFreq(), ElecFilter::ReadMeasuredFilterData(), GaussianReceiver::ReceiveSignalDGD_NoisePartiallyPolarized(), RotatesAboutX(), RotatesAboutY(), Stokes2Jones(), OptAmplifier::TimeShiftBiasedNoise(), Photodetector::TimeShiftSignal(), OptSignal::TimeShiftSignal(), OptFiber::TransformJonesVectorThroughFiber(), URotatesAboutX(), URotatesAboutY(), OptSignal::WriteDistTimeCplxWave(), and OptFilter::WriteFreqPowerFabryPerotFilter().

const double LightSpeed = 299792458
const double pi = 4*atan( (double) 1)

Referenced by OptSignal::AddCWSignal(), RamanAmp::AddNoise(), OptAmplifier::AddRippleToGain(), Photodetector::AddShotNoise(), Photodetector::AddShotNoiseOLD(), OptAmplifier::AmplifyHomogeneous(), OptAmplifier::AmplifyOptSignalScalar(), OptAmplifier::AmplifyOptSignalScalarSinTim(), OptAmplifier::AmplifyOptSignalVector(), OptAmplifier::AmplifyOptSignalVectorWithGainProfile(), ElecFilter::AnritsuFilterPaola(), OptFiberLocalError::ApplySaturableGainOperator(), NoiseCovariance::ComputeArtificialDispersionCompensationOperator(), ElecSignalStat::ComputeAveragePDFs(), GaussianReceiver::ComputeAveragePDFs(), OptFiberLocalError::ComputeDispersionOperator(), OptFiberLocalError::ComputeFreqDomainOperator(), ChiSquareReceiver::ComputeGaussianPDFsAndBER(), ChiSquareReceiver::ComputeKLModes(), OptSignal::ConstantPhaseShift(), OptSignal::ConstructOptSignal(), OptSignal::EOM_MachZehnderModulatorElecNRZ(), OptSignal::EOM_MachZehnderModulatorOptData(), OptSignal::EOM_MachZehnderModulatorOptNRZOLD(), OptSignal::EOM_PhaseModulator(), OptSignal::EOM_SinusoidallyModulateElecData(), erfccExtendedRange(), ChiSquareReceiver::EvaluateGaussianApproximation(), OptFilter::FabryPerotFilter(), OptSignal::FreqShiftSignal(), Histogram2D::GaussianPDF(), OptSignal::GenerateSignalStringBPSKMachZehnderModulator(), OptSignal::GenerateSignalStringCSRZMachZehnderModulator(), OptSignal::GenerateSignalStringCSRZMachZehnderModulatorOLD(), OptSignal::GenerateSignalStringGaussianOrSech(), OptSignal::GenerateSignalStringGaussianOrSechWithPhaseShift(), OptSignal::GenerateSignalStringNRZ_RCOS_MachZehnderModulator(), OptSignal::GenerateSignalStringQPSK_CW(), OptSignal::GenerateSignalStringQPSK_DPMZ_PM_AM_RZ33(), OptSignal::GenerateSignalStringQPSK_DPMZ_PM_AM_RZ50(), OptSignal::GenerateSignalStringQPSK_DPMZ_PM_NRZ(), OptSignal::GenerateSignalStringQPSK_Gaussian(), OptSignal::GenerateSignalStringQPSK_SEQ_PM_AM_RZ33(), OptSignal::GenerateSignalStringQPSK_SEQ_PM_AM_RZ50(), OptSignal::GenerateSignalStringQPSK_SEQ_PM_NRZ(), OptSignal::GenerateSignalStringRaisedCosines(), OptSignal::GenerateSignalStringRaisedCosinesWithPhaseShift(), OptSignal::GenerateSignalStringRZ33MachZehnderModulator(), OptSignal::GenerateSignalStringRZ33MachZehnderModulatorOLD(), OptSignal::GenerateSignalStringRZ50MachZehnderModulator(), OptSignal::GenerateSignalStringRZ50MachZehnderModulatorOLD(), OptSignal::GenerateSignalStringRZGaussianPattern(), OptSignal::GenerateSignalStringUsingInputSequence(), MachZehnder::GenerateSinusoidalElecSignal(), ReduOptSignal::GetBitErrorRate(), ElecSignalStat::GetBitErrorRate(), OptSignal::GetChirp(), OptFiber::GetDGD_Manakov(), ReduOptFiber::GetExpectedDGD(), OptFiberLocalError::GetExpectedDGD(), OptFiber::GetFiberSample(), ReduOptFiber::GetFiberSampleCompleteScatt(), OptFiber::GetFiberSampleCompleteScatt(), OptFiber::GetFiberSampleImportSamplingCosRx(), OptFiber::GetFiberSampleImportSamplingExp(), OptFiber::GetFiberSampleImportSamplingFstSndOrderPDV_Exp(), OptFiber::GetFiberSampleImportSamplingFstSndOrderPDV_VariableAngleExp(), OptFiber::GetFiberSampleImportSamplingSndOrderPDV_Exp(), OptFiber::GetFiberSampleImportSamplingSndOrderPDV_VariableAngleExp(), OptFiber::GetFiberSampleUnifRxRzRy(), OptFiber::GetFiberSampleUnifRyRzRy(), OptFiber::GetFiberSampleUnifRz(), OptFiber::GetHeuristicBalanceForSndOrderPDV_VariableAngleExp(), ReduPolarizTransformer::GetImportSampPolarizTransformation(), ReduOptFiber::GetInPD_Vector(), OptFiber::GetInPD_Vector(), OptFiber::GetInPD_VectorOld(), OptFiber::GetLocalBeatLength(), OptSignal::GetLocalFrequency(), OptFiberLocalError::GetNewFiberRealization(), OptFiber::GetNum_d2DGD_domega2(), OptFiber::GetNum_dDGD_domega(), OptFiber::GetNumOutPD_Vector(), OptFiber::GetNumSndOrderOutPD_Vector(), OptFiber::GetNumThirdOrderOutPD_Vector(), ReduOptFiber::GetOutPD_Vector(), OptFiber::GetOutPD_Vector(), OptFiber::GetOutPD_VectorOld(), GetRadiusCircle(), OptSignal::GetRandomJones(), ReduOptFiber::GetSndOrderOutPD_Vector(), OptFiber::GetSndOrderOutPD_Vector(), ElecSignalStat::GetTargetIndexTime(), ElecSignalStat::GetTargetTime(), OptFiber::GetThirdOrderOutPD_Vector(), OptSignal::InitializeFirstOrderPMDSignal(), ElecFilter::IntegrateAndDump(), MachZehnder::MachZehnder(), MachZehnder::MZModulator(), OptFiber::OptFiber(), OptFiberLocalError::OptFiberLocalError(), MachZehnder::PhaseModulator(), PolarizBeamSplitter::PolarizBeamSplitter(), ReduOptFiber::PropagateFiberCoupledNLS(), OptFiber::PropagateFiberCoupledNLS(), OptFiber::PropagateFiberCoupledNLSFreqDomainOnly(), OptFiber::PropagateFiberDecoupledNLS(), OptFiber::PropagateFiberScalarNLS(), OptFiber::PropagateFiberScalarNLSWriteData(), OptFiber::PropagateFullNonlinearFiberCoupledNLS(), RamanAmp::PropagateNoise(), OptFiberLocalError::PropagateOutputPDVector(), RamanAmp::PropagateSignalandNoise(), OptAmplifier::PropagateSignalandNoise(), NoiseCovariance::Propagator(), OptSignal::RaisedCosineForNRZ_RCOS_MZ(), ReduOptFiber::RMS2meanDGD(), OptFiber::rms2meanDGD(), OptFiber::RotateThroughFiber(), OptFiberLocalError::SetDispersion(), OptFiberLocalError::SetMeanDGDPerSqrtLength(), OptFiberLocalError::SetPMD(), PolarizBeamSplitter::SetPolarizBeamSplitterCircular(), PolarizBeamSplitter::SetPolarizBeamSplitterDiagonal(), OptAmplifier::TimeShiftBiasedNoise(), Photodetector::TimeShiftSignal(), OptSignal::TimeShiftSignal(), OptFiber::TransformJonesVectorThroughFiber(), TransRyV3to_YZ(), TransRzRxV3to_Xhat(), TransRzRxV3toXhat(), TransRzRyV3to_Xhat(), TransRzRyV3toXhat(), OptFiberLocalError::UpdateJonesMatrixAfterBiregringence(), OptSpectrumAnalyzer::UpdateOSA(), OptSignal::WriteAccumulatedFirstOrderDispersion(), OptFiber::WriteFileDispersionProfile(), Histogram::WriteFileGaussian_cdf(), Histogram::WriteFileGaussian_cdfc(), Histogram::WriteFileGaussian_pdf(), Histogram::WriteFileMaxwell_pdf(), Histogram::WriteFileSndOrderPDV_pdf(), and OptFilter::WriteFreqPowerFabryPerotFilter().