vlt.math.dogf2dog-convertdifferenceofgaussianparametersinfrequencyspacetorealspaceP_DOG=vlt.math.dogf2dog(P_DOGF)Givenparametersforadifferenceofgaussiansfunctioninfrequencyspace,wherefiscycles/unitsP_DOGF=[a1b1a2b2],wherevlt.math.dog(F,P_DOG)=[a1*exp(-f.^2/(2*b1^2))-a2*exp(-f.^2/(2*b2^2))],thisfunctioncomputestheparametersforcalculatingthecurveinrealspace(1/funits)whichissqrt(2*pi)*[a1*b1*exp(-0.5*b1^2*x^2)-a1*b2*exp(-0.5*b2^2*x^2)Thisfunctionisitselfadifferenceofgaussianfunction.Therefore,toexpressthesevaluesintermsoftheoriginalP_DOG,theparametersareconvertedtobeP_DOGF=[sqrt(2*pi)*a1*b11/(2*pi*b1)sqrt(2*pi)*a2*b21/(2*pi*b2)]
Throughthemiracleofmath,thisfunctionisalsoit's own inverse: p_dog = vlt.math.dog2dofg(vlt.math.dog2dogf(p_dog)) This function just calls vlt.math.dog2dogf, as it is its own inverse. See also: vlt.math.dog, vlt.math.dog2dogf