Commit 13eb2ed7 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Do a conditional import for CudaUnsharpMask

parent 178c6cdf
Pipeline #26954 failed with stages
in 54 seconds
......@@ -2,12 +2,12 @@ import numpy as np
from .double_flatfield import DoubleFlatField
from ..utils import check_shape
from ..cuda.utils import get_cuda_context, __has_pycuda__
from ..misc.unsharp_cuda import CudaUnsharpMask
if __has_pycuda__:
import pycuda.gpuarray as garray
import pycuda.cumath as cumath
from ..cuda.processing import CudaProcessing
from ..misc.unsharp_cuda import CudaUnsharpMask
class CudaDoubleFlatField(DoubleFlatField, CudaProcessing):
......
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