We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cd0827 commit cb47b56Copy full SHA for cb47b56
tests/test_fdmt.py
@@ -0,0 +1,15 @@
1
+'''test'''
2
+
3
+import numpy as np
4
+from fdmt.cpu_fdmt import FDMT
5
6
+def test_fdmt():
7
+ # Random data with 1024 frequency channels and
8
+ # 40960 time samples
9
+ data = np.random.normal(size=(1024, 40960))
10
+ fdmt = FDMT() # outputting 2048 time series, the default
11
12
+ # code call
13
+ time_dt_series = fdmt.fdmt(data, retDMT=True)
14
15
+ # Done. time_dt_series is an array of 2048 dedispersed time series.
0 commit comments