Skip to content

Commit

Permalink
Moved simtools out of tests and into main source folder. Fixes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoSanchez committed Aug 24, 2020
1 parent 07da6a6 commit 8cb84b6
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 61 deletions.
73 changes: 22 additions & 51 deletions docs/source/tutorial/Tutorial02.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion drafts/rebuild_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import sep
from astropy.io import fits

from properimage.tests import simtools
from properimage import simtools
from properimage import propercoadd as pc
from properimage import utils

Expand Down
2 changes: 1 addition & 1 deletion drafts/test_proper_coadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from astropy.time import Time
from astropy.io import fits

from properimage.tests import simtools
from properimage import simtools
from properimage import propercoadd as pc


Expand Down
2 changes: 1 addition & 1 deletion drafts/test_variablepsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import numpy as np
import matplotlib.pyplot as plt

from properimage.tests import simtools
from properimage import simtools
from properimage import propercoadd as pc
from properimage import single_image as si
from properimage import utils
Expand Down
File renamed without changes.
5 changes: 3 additions & 2 deletions tests/test_propercoadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@
import numpy as np
from astropy.io import fits

from properimage import propercoadd as pc, single_image as si
from properimage import propercoadd as pc
from properimage import single_image as si
from properimage import simtools

from . import simtools
from .core import ProperImageTestCase


Expand Down
3 changes: 1 addition & 2 deletions tests/test_propersubtract.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@

from properimage import propersubtract as ps
from properimage import single_image as si

from . import simtools
from properimage import simtools


class PropersubtractBase(object):
Expand Down
3 changes: 2 additions & 1 deletion tests/test_simtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

from scipy.ndimage.interpolation import rotate

from . import simtools as sm
from properimage import simtools as sm

from .core import ProperImageTestCase


Expand Down
2 changes: 1 addition & 1 deletion tests/test_single_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
from astropy.io import fits

from properimage import single_image as s
from properimage import simtools

from . import simtools
from .core import ProperImageTestCase

np.warnings.filterwarnings("ignore")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

from .core import ProperImageTestCase

from . import simtools as sm
from properimage import simtools as sm


class UtilsBase(ProperImageTestCase):
Expand Down

0 comments on commit 8cb84b6

Please sign in to comment.