Commit 4ddca7dc authored by Philipp Arras's avatar Philipp Arras
Browse files

Merge branch 'duccisoptional' into 'NIFTy_7'

Ducc is optional

See merge request !608
parents a55108a9 69bbe062
Pipeline #96459 passed with stages
in 24 minutes and 49 seconds
......@@ -17,7 +17,6 @@
import numpy as np
from scipy.constants import speed_of_light
from ducc0.wgridder import ms2dirty, dirty2ms
from ..domain_tuple import DomainTuple
from ..domains.rg_space import RGSpace
......@@ -60,6 +59,7 @@ class Gridder(LinearOperator):
self._eps = float(eps)
def apply(self, x, mode):
from ducc0.wgridder import ms2dirty, dirty2ms
self._check_input(x, mode)
freq = np.array([speed_of_light])
x = x.val
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment