Commit 69bbe062 authored by Philipp Arras's avatar Philipp Arras
Browse files

Ducc is optional

parent a55108a9
Pipeline #95112 passed with stages
in 11 minutes and 43 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 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