from detector import InwakeDetector
import pandas as pd
import datetime

dates = ['09082019',]

for date in dates:

    if __name__ == "__main__":

        IB = InwakeDetector()
        # plot: plots snapshot timestamps, use_snapshot: list of snapshots to use, print_names/highlight: birds' 
        # names to print/ birds with red circle in the plot.
        IB.import_data("Flight_direction_pairs_%s_10min_4royalsociety.csv" % date,plot=True, use_snapshots=None, 
        	print_names=[], highlight=[], outputdir=' ', verbose=False, forbidden_intervals=None, plot_arrow=False)
        for bird in IB._all_ids:
            IB.export_4Elisa("inwake_flying_%s.txt" % date, bird=bird)
            IB.export_strengths("firing_strengths_%s.txt" % date)
            
