Commit 45e444ee authored by Simone Liuzzo's avatar Simone Liuzzo

one zero less in file name of frequency response. speed of ligth from physicsconstants

parent 2ed346ac
......@@ -18,12 +18,12 @@ function [oh,ov]=load_fresp(filename,pm)
%See also: ebs.load_disp
if nargin<2
[~,cur,rsp]=ebs.load_steerresp(fullfile(filename,'steerF2H000'), @(x)0);
[~,cur,rsp]=ebs.load_steerresp(fullfile(filename,'steerF2H00'), @(x)0);
oh=rsp/cur;
[~,cur,rsp]=ebs.load_steerresp(fullfile(filename,'steerF2V000'), @(x)0);
[~,cur,rsp]=ebs.load_steerresp(fullfile(filename,'steerF2V00'), @(x)0);
ov=rsp/cur;
else
cnst=-pm.ll/pm.alpha/992/2.997924E8;
cnst=-pm.ll/pm.alpha/992/PhysConstant.speed_of_light_in_vacuum.value;
if isdir(filename)
if exist(fullfile(filename, 'dispersion'),'file') ~= 0
[dh,dv]=ebs.load_orbit(fullfile(filename, 'dispersion'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment