def test_03_clean_noH():
    from obstools.scripts import atacr_clean_spectra as atacr
    args0 = atacr.get_cleanspec_arguments([
        dbfile, '--keys', '7D.M08A', '-O', '--save-fig', '--figCross',
        '--figCoh'
    ])
    atacr.main(args=args0)
def test_06_correct_noH():
    from obstools.scripts import atacr_correct_event as atacr
    args0 = atacr.get_correct_arguments([
        dbfile, '--keys', '7D.M08A', '-O', '--figRaw', '--figClean',
        '--save-fig', '--save'
    ])
    atacr.main(args=args0)
def test_02_daily_noH():
    from obstools.scripts import atacr_daily_spectra as atacr
    args0 = atacr.get_dailyspec_arguments([
        dbfile, '--keys', '7D.M08A', '-O', '--figQC', '--figAverage',
        '--save-fig'
    ])
    atacr.main(args=args0)
def test_01_data_noH():
    from obstools.scripts import atacr_download_data as atacr
    args0 = atacr.get_daylong_arguments([
        dbfile, '--keys', '7D.M08A', '-O', '--start', '2012-03-08', '--end',
        '2012-03-10', '--sampling-rate', '0.5', '--channels', 'P'
    ])
    atacr.main(args=args0)
def test_05_event_noH():
    from obstools.scripts import atacr_download_event as atacr
    args0 = atacr.get_event_arguments([
        dbfile, '--keys', '7D.M08A', '-O', '--start', '2012-03-08', '--end',
        '2012-03-10', '--min-mag', '6.3', '--max-mag', '6.7',
        '--sampling-rate', '0.5', '--channels', 'P'
    ])
    atacr.main(args=args0)
def test_04_trans_noH():
    from obstools.scripts import atacr_transfer_functions as atacr
    args0 = atacr.get_transfer_arguments(
        [dbfile, '--keys', '7D.M08A', '-O', '--save-fig', '--figTF'])
    atacr.main(args=args0)
def test_23_clean_all():
    from obstools.scripts import atacr_daily_spectra as atacr
    args0 = atacr.get_dailyspec_arguments(
        [dbfile, '--keys', '7D.M08A', '-O', '--save-fig'])
    atacr.main(args=args0)