Syntax:

-GetLSAmpThresh <"ls" | "spec"> minp thresh <"harm" Nharm Nsubharm | "file" listfile>

Example 1.
$ ./vartools -i EXAMPLES/2 -oneline \
    -LS 0.1 10. 0.1 1 0 \
    -Killharm ls 0 0 0 fitonly \
    -GetLSAmpThresh ls 0.1 -100 harm 0 0

Name                                 = EXAMPLES/2
LS_Period_1_0                        =     1.23440877
Log10_LS_Prob_1_0                    = -704.49194
LS_SNR_1_0                           =   58.45119
Killharm_Mean_Mag_1                  =  10.12217
Killharm_Period_1_1                  =     1.23440877
Killharm_Per1_Fundamental_Sincoeff_1 =   0.05008
Killharm_Per1_Fundamental_Coscoeff_1 =  -0.00222
Killharm_Per1_Amplitude_1            =   0.10026
LS_AmplitudeScaleFactor_2            =   0.02473
LS_MinimumAmplitude_2                =   0.00248

Example illustrating a use of the -GetLSAmpThresh command. Read in the light curve EXAMPLES/2 and search for a period with -LS, Use the -Killharm command as above to get the peak-to-peak amplitude of the signal at the period found by the -LS command. Then run -GetLSAmpThresh to get the minimum amplitude that the signal in EXAMPLES/2 could have had, and still have resulted in an LS detection with Log10_LS_Prob < -100.0. The "ls" keyword tells the command to take the input period from the last -LS command, and 0.1 is the minimum period searched for by -LS (this sets the FAP scale). We give "harm 0 0" to fit a sinusoid for the signal (more complicated signal forms are possible). Running this command shows that the signal could have had an amplitude as low as 0.00248 and still have had Log10_LS_Prob < -100.0. For comparision, the real signal has an amplitude of 0.1 mag, and easily passes the threshold.