Syntax:

-TFA trendlist ["readformat" Nskip jdcol magcol] dates_file pixelsep correctlc ocoeff [coeff_outdir] omodel [model_outdir]

Example 1.
$ ./vartools -l EXAMPLES/lc_list_tfa -oneline -rms \
    -TFA EXAMPLES/trendlist_tfa EXAMPLES/dates_tfa 25.0 1 0 0

Name           = EXAMPLES/3.transit
Mean_Mag_0     =  10.16727
RMS_0          =   0.00542
Expected_RMS_0 =   0.00104
Npoints_0      =  3417
TFA_MeanMag_1  =  10.16714
TFA_RMS_1      =   0.00471

Apply the trend-filtering algorithm to the light curves in the list EXAMPLES/lc_list_tfa (the only light curve in that list is EXAMPLES/3.transit). We use the list of template trend light-curves given in EXAMPLES/trendlist_tfa (the second and third columns are the x and y positions for each star). We have TFA only include trend stars that are more than 25 pixels from the source (the coordinates for EXAMPLES/3.transit are given in EXAMPLES/lc_list_tfa). We pass the corrected light curve to the subsequent commands and do not output the TFA coefficients or the TFA model.