Next: file-handling, Previous: cw-sensitivity, Up: Directory Index [Contents][Index]
Estimate the F-statistic mismatch distribution of lalapps_Weave
.
EITHER
setup_file
Weave setup file
OR
coh_Tspan
time span of coherent segments
semi_Tspan
total time span of semicoherent search
sky
Whether to include search over sky parameters (default: true)
spindowns
Number of spindown parameters being searched
lattice
Type of lattice used by search (default: Ans)
coh_max_mismatch
semi_max_mismatch
Maximum 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
EITHER
setup_file
Weave setup file
OR
segment_list
Segment list
ref_time
GPS reference time
EITHER
result_file
Weave result file
OR
freq_min/max
Minimum/maximum frequency range
f1dot_min/max
Minimum/maximum 1st spindown
f2dot_min/max
Minimum/maximum 2nd spindown (optional)
TSFT
Length of an SFT (default: 1800s)
Dterms
Number of Dirichlet terms used by the F-statistic (default: 8)
run_med_win
Size 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
.
EITHER
setup_file
Weave setup file
OR
Nsegments
number of segments
Ndetectors
number of detectors
ref_time
GPS reference time
start_time
GPS start time
coh_Tspan
time span of coherent segments
semi_Tspan
total time span of semicoherent search
EITHER
result_file
Weave result file
OR
freq_min/max
minimum/maximum frequency range
dfreq
frequency spacing
f1dot_min/max
minimum/maximum 1st spindown
f2dot_min/max
minimum/maximum 2nd spindown (optional)
Fmethod
F-statistic method used by search
Ncohres
total number of computed coherent results
Nsemitpl
number of computed semicoherent results
cache_max
maximum size of coherent results cache
stats
Comma-separated list of statistics being computed
timings
the name of a Weave result file to read fundamental timing constants from, or else the string "default" to use default timings
TSFT
Length 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
.
EITHER
setup_file
Weave setup file
OR
Nsegments
number of segments
detectors
comma-separated list of detectors
coh_Tspan
time span of coherent segments
semi_Tspan
total time span of semicoherent search
alpha
delta
If not searching over sky parameters, give sky point of search (default: all-sky)
spindowns
Number of spindown parameters being searched
lattice
Type of lattice used by search (default: Ans)
coh_max_mismatch
semi_max_mismatch
Maximum coherent and semicoherent mismatches; for a single- segment or non-interpolating search, set coh_max_mismatch=0
NSFTs
total number of SFTs used by search
pFD
false dismissal probability of search
EITHER
pFA
false alarm probability of search
semi_ntmpl
number of semicoherent templates used by search
OR
mean2F_th
threshold on mean 2F
TSFT
Time 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
EITHER
setup_file
Weave setup file
OR
Nsegments
Number of segments
detectors
Comma-separated list of detectors
ref_time
GPS reference time
coh_Tspan
Time span of coherent segments
semi_Tspan
Total time span of semicoherent search
EITHER
result_file
Weave result file
OR
sky_area
Area of sky to cover (4*pi = entire sky)
freq_min/max
Minimum/maximum frequency range
f1dot_min/max
Minimum/maximum 1st spindown
f2dot_min/max
Minimum/maximum 2nd spindown (optional)
coh_max_mismatch
semi_max_mismatch
Maximum coherent and semicoherent mismatches; for a single- segment or non-interpolating search, set coh_max_mismatch=0
lattice
Type 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]