Commit 61d0ef18 authored by Reinhard Prix's avatar Reinhard Prix
Browse files

HierarchSearchGCT: removed defunct 'useWholeSFTs' option

- this option is incompatible with the new-API Fstat functions
- refs #1531
Original: 3be88c8a02d51ea28885ccaae65f2a7454420f4f
parent dc44494e
......@@ -146,7 +146,6 @@ typedef struct {
SSBprecision SSBprec; /**< SSB transform precision */
FstatMethodType Fmethod; //!< which Fstat-method/algorithm to use
BOOLEAN useResamp; /**< user-input switch whether to use resampling */
BOOLEAN useWholeSFTs; /**< special switch: load all given frequency bins from SFTs */
REAL8 mismatch1; /**< 'mismatch1' user-input needed here internally ... */
UINT4 nSFTs; /**< total number of SFTs */
LALStringVector *detectorIDs; /**< vector of detector IDs */
......@@ -404,7 +403,6 @@ int MAIN( int argc, char *argv[]) {
CHAR *uvar_outputTiming = NULL;
BOOLEAN uvar_useWholeSFTs = 0;
CHAR *uvar_FstatMethod = XLALStringDuplicate("DemodBest");
timingInfo_t XLAL_INIT_DECL(timing);
......@@ -505,8 +503,6 @@ int MAIN( int argc, char *argv[]) {
LAL_CALL( LALRegisterSTRINGUserVar( &status, "outputTiming", 0, UVAR_DEVELOPER, "Append timing information into this file", &uvar_outputTiming), &status);
LAL_CALL( LALRegisterBOOLUserVar( &status, "useWholeSFTs", 0, UVAR_DEVELOPER, "Read in all SFTs bins (workaround for code searching outside input band)", &uvar_useWholeSFTs), &status);
LAL_CALL ( LALRegisterBOOLUserVar( &status, "version", 'V', UVAR_SPECIAL, "Output version information", &uvar_version), &status);
/* read all command line variables */
......@@ -766,7 +762,6 @@ int MAIN( int argc, char *argv[]) {
LogPrintf (LOG_NORMAL, "FstatMethod used: '%s'\n", XLALGetFstatMethodName( usefulParams.Fmethod ) );
usefulParams.useResamp = XLALFstatMethodClassIsResamp ( usefulParams.Fmethod );
usefulParams.useWholeSFTs = uvar_useWholeSFTs;
usefulParams.mismatch1 = uvar_mismatch1;
/* set reference time for pulsar parameters */
......@@ -2002,13 +1997,8 @@ void SetUpSFTs( LALStatus *status, /**< pointer to LALStatus structure */
freqHi = HSMAX ( startTime_freqHi, endTime_freqHi );
doppWings = freqHi * in->dopplerMax; /* maximum Doppler wing -- probably larger than it has to be */
if (in->useWholeSFTs) {
freqmin = freqmax = -1;
}
else {
freqmin = freqLo - doppWings - in->extraBinsFstat * in->dFreqStack;
freqmax = freqHi + doppWings + in->extraBinsFstat * in->dFreqStack;
}
freqmin = freqLo - doppWings - in->extraBinsFstat * in->dFreqStack;
freqmax = freqHi + doppWings + in->extraBinsFstat * in->dFreqStack;
/* fill detector name vector with all detectors present in any data sements */
in->detectorIDs = NULL;
......
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