Commit 03375155 authored by Médéric Boquien's avatar Médéric Boquien

Remove various imports that are never used.

parent 4e1b9963
...@@ -9,8 +9,6 @@ from importlib import import_module ...@@ -9,8 +9,6 @@ from importlib import import_module
import os import os
import shutil import shutil
import numpy as np
from astropy.table import Column
class AnalysisModule(object): class AnalysisModule(object):
"""Abstract class, the pCigale analysis modules are based on. """Abstract class, the pCigale analysis modules are based on.
......
...@@ -26,13 +26,11 @@ reduced χ²) is given for each observation. ...@@ -26,13 +26,11 @@ reduced χ²) is given for each observation.
""" """
from collections import OrderedDict from collections import OrderedDict
import ctypes
import multiprocessing as mp import multiprocessing as mp
import time import time
import numpy as np import numpy as np
from ...utils import read_table
from .. import AnalysisModule from .. import AnalysisModule
from .workers import sed as worker_sed from .workers import sed as worker_sed
from .workers import init_sed as init_worker_sed from .workers import init_sed as init_worker_sed
......
...@@ -16,7 +16,6 @@ The data file is used only to get the list of fluxes to be computed. ...@@ -16,7 +16,6 @@ The data file is used only to get the list of fluxes to be computed.
""" """
from collections import OrderedDict from collections import OrderedDict
import ctypes
import multiprocessing as mp import multiprocessing as mp
import time import time
......
...@@ -9,7 +9,7 @@ import itertools ...@@ -9,7 +9,7 @@ import itertools
import numpy as np import numpy as np
from ..utils import read_table from ..utils import read_table
from ..warehouse import SedWarehouse
class ParametersManager(object): class ParametersManager(object):
"""Class to abstract the call to the relevant parameters manager depending """Class to abstract the call to the relevant parameters manager depending
......
...@@ -31,7 +31,7 @@ Such SED is characterised by: ...@@ -31,7 +31,7 @@ Such SED is characterised by:
import numpy as np import numpy as np
from numpy.core.multiarray import interp # Compiled version from numpy.core.multiarray import interp # Compiled version
from scipy.constants import c, parsec from scipy.constants import parsec
from . import utils from . import utils
from .io.vo import save_sed_to_vo from .io.vo import save_sed_to_vo
......
Markdown is supported
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