akutkin / frb

0 stars 0 forks source link

testing DB+search use case #5

Closed ipashchenko closed 8 years ago

ipashchenko commented 8 years ago

First, one need to create DB with related tables. Just run candidates.py and it will create frb.db in in code's directory (the location of DB file can be easily changed). Then run search_candidates.py. It will create fake dynamical spectra, add some fake FRBs, process it with de-dispersion, different pre-processing and search options (using caching of de-dispersion and pre-processing results) and put results in frb.db in tables searched_data & candidates. These 2 tables are related via one searched dynamical spectra - many candidates relation. It is SQLite DB and can be viewed with Firefox extension SQLite Manager.

ipashchenko commented 8 years ago

Now there's examples/search_frb_in_one_experiment.py & caching.py covering this use cases