Next: file-handling, Previous: cw-sensitivity, Up: Directory Index [Contents][Index]
Estimate the F-statistic mismatch distribution of lalapps_Weave.
EITHERsetup_fileWeave setup file
ORcoh_Tspantime span of coherent segments
semi_Tspantotal time span of semicoherent search
skyWhether to include search over sky parameters (default: true)
spindownsNumber of spindown parameters being searched
latticeType of lattice used by search (default: Ans)
coh_max_mismatchsemi_max_mismatchMaximum coherent and semicoherent mismatches; for a single- segment or non-interpolating search, set coh_max_mismatch=0
Histogram of F-statistic mismatch distribution
try
lal; lalpulsar;
catch
disp("skipping test: LALSuite bindings not available"); return;
end_try_catch
results = fitsread(fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits"));
args = struct;
args.setup_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_setup_file.fits");
args.spindowns = results.primary.header.nspins;
args.coh_max_mismatch = str2double(results.primary.header.progarg_coh_max_mismatch);
args.semi_max_mismatch = str2double(results.primary.header.progarg_semi_max_mismatch);
hgrm = fevalstruct(@WeaveFstatMismatch, args);
assert(meanOfHist(hgrm), 0.0876, 1e-3);
Estimate the input SFT band required by lalapps_Weave
Minimum/maximum SFT frequency range
EITHERsetup_fileWeave setup file
ORsegment_listSegment list
ref_timeGPS reference time
EITHERresult_fileWeave result file
ORfreq_min/maxMinimum/maximum frequency range
f1dot_min/maxMinimum/maximum 1st spindown
f2dot_min/maxMinimum/maximum 2nd spindown (optional)
TSFTLength of an SFT (default: 1800s)
DtermsNumber of Dirichlet terms used by the F-statistic (default: 8)
run_med_winSize of running median window used by the F-statistic (default: 101)
try
lal; lalpulsar;
catch
disp("skipping test: LALSuite bindings not available"); return;
end_try_catch
results = fitsread(fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits"));
args = struct;
args.setup_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_setup_file.fits");
args.result_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits");
[SFT_freq_min, SFT_freq_max] = fevalstruct(@WeaveInputSFTBand, args);
assert(SFT_freq_min <= min([results.segment_info.data.sft_min_freq]));
assert(SFT_freq_max >= max([results.segment_info.data.sft_max_freq]));
Returns pre-parsed setup file as a struct with additional fields:
Nx2 array of segment GPS [ start-times ; end-times ]
pre-parsed segment properties returned by AnalyseSegmentList()
number of segments
number of detectors
cell-array of detector-names
reference GPS time
first segment start time
average segment length (=coherent length)
total time-span of segment list
setup_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_setup_file.fits");
setup = WeaveReadSetup(setup_file);
assert(isstruct(setup));
Estimate the run time and maximum memory usage of lalapps_Weave.
EITHERsetup_fileWeave setup file
ORNsegmentsnumber of segments
Ndetectorsnumber of detectors
ref_timeGPS reference time
start_timeGPS start time
coh_Tspantime span of coherent segments
semi_Tspantotal time span of semicoherent search
EITHERresult_fileWeave result file
ORfreq_min/maxminimum/maximum frequency range
dfreqfrequency spacing
f1dot_min/maxminimum/maximum 1st spindown
f2dot_min/maxminimum/maximum 2nd spindown (optional)
FmethodF-statistic method used by search
Ncohrestotal number of computed coherent results
Nsemitplnumber of computed semicoherent results
cache_maxmaximum size of coherent results cache
statsComma-separated list of statistics being computed
timingsthe name of a Weave result file to read fundamental timing constants from, or else the string "default" to use default timings
TSFTLength of an SFT (default: 1800s)
try
lal; lalpulsar;
catch
disp("skipping test: LALSuite bindings not available"); return;
end_try_catch
results = fitsread(fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits"));
args = struct;
args.setup_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_setup_file.fits");
args.result_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits");
args.stats = "sum2F,mean2F,log10BSGL,log10BSGLtL,log10BtSGLtL";
[times, maxmem, tau] = fevalstruct(@WeaveRunTime, args);
assert(times.total > 0);
assert(maxmem.total > 0);
assert(all(structfun(@(t) t > 0, tau)));
Estimate the sensitivity depth of lalapps_Weave.
EITHERsetup_fileWeave setup file
ORNsegmentsnumber of segments
detectorscomma-separated list of detectors
coh_Tspantime span of coherent segments
semi_Tspantotal time span of semicoherent search
alphadeltaIf not searching over sky parameters, give sky point of search (default: all-sky)
spindownsNumber of spindown parameters being searched
latticeType of lattice used by search (default: Ans)
coh_max_mismatchsemi_max_mismatchMaximum coherent and semicoherent mismatches; for a single- segment or non-interpolating search, set coh_max_mismatch=0
NSFTstotal number of SFTs used by search
pFDfalse dismissal probability of search
EITHERpFAfalse alarm probability of search
semi_ntmplnumber of semicoherent templates used by search
ORmean2F_ththreshold on mean 2F
TSFTTime span of a single SFT (default: 1800 seconds)
estimated sensitivity depth
mismatch histogram
try
lal; lalpulsar;
catch
disp("skipping test: LALSuite bindings not available"); return;
end_try_catch
results = fitsread(fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits"));
args = struct;
args.setup_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_setup_file.fits");
args.spindowns = results.primary.header.nspins;
args.coh_max_mismatch = str2double(results.primary.header.progarg_coh_max_mismatch);
args.semi_max_mismatch = str2double(results.primary.header.progarg_semi_max_mismatch);
args.NSFTs = results.primary.header.nsfts;
args.pFA = 0.01;
args.semi_ntmpl = results.primary.header.nsemitpl;
depth = fevalstruct(@WeaveSensDepth, args);
assert(depth, 29.573, 0.1);
Estimate the number of templates computed by lalapps_Weave
number of coherent templates
number of semicoherent templates
frequency spacing
EITHERsetup_fileWeave setup file
ORNsegmentsNumber of segments
detectorsComma-separated list of detectors
ref_timeGPS reference time
coh_TspanTime span of coherent segments
semi_TspanTotal time span of semicoherent search
EITHERresult_fileWeave result file
ORsky_areaArea of sky to cover (4*pi = entire sky)
freq_min/maxMinimum/maximum frequency range
f1dot_min/maxMinimum/maximum 1st spindown
f2dot_min/maxMinimum/maximum 2nd spindown (optional)
coh_max_mismatchsemi_max_mismatchMaximum coherent and semicoherent mismatches; for a single- segment or non-interpolating search, set coh_max_mismatch=0
latticeType of lattice to use (default: Ans)
try
lal; lalpulsar;
catch
disp("skipping test: LALSuite bindings not available"); return;
end_try_catch
results = fitsread(fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits"));
args = struct;
args.setup_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_setup_file.fits");
args.result_file = fullfile(fileparts(file_in_loadpath("WeaveReadSetup.m")), "test_result_file.fits");
[coh_Nt, semi_Nt] = fevalstruct(@WeaveTemplateCount, args);
assert(coh_Nt, results.primary.header.ncohtpl, -0.2);
assert(semi_Nt, results.primary.header.nsemitpl, -0.2);
Next: file-handling, Previous: cw-sensitivity, Up: Directory Index [Contents][Index]