Source
1
1
import contextlib
2
2
import csv
3
3
import filecmp
4
4
import glob
5
-
import numpy as np
6
5
import os
7
6
import shutil
8
7
import unittest
9
8
10
-
from casatasks import casalog
11
-
from casatasks import sdbaseline
9
+
import numpy as np
10
+
from casatasks import casalog, sdbaseline
12
11
from casatasks.private.sdutil import table_manager
13
-
from casatasks.private.task_sdbaseline import check_fftthresh
14
-
from casatasks.private.task_sdbaseline import is_empty
15
-
from casatasks.private.task_sdbaseline import parse_wavenumber_param
12
+
from casatasks.private.task_sdbaseline import (check_fftthresh, is_empty,
13
+
parse_wavenumber_param)
16
14
from casatools import ctsys, table
17
15
18
16
tb = table()
19
17
ctsys_resolve = ctsys.resolve
20
18
21
19
22
20
# default is necessary in CASA6
23
21
def default(atask):
24
22
pass
25
23