Skip to content

Commit

Permalink
Merge branch 'feature/SIM-1230/separate_utils_and_mixins'
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsf committed Jul 21, 2015
2 parents ed35465 + 8a24244 commit 7b5f72c
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 8 deletions.
3 changes: 2 additions & 1 deletion examples/galSimCompoundGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

import os
import galsim
from lsst.sims.catalogs.generation.db import CatalogDBObject, ObservationMetaData
from lsst.sims.catalogs.generation.db import CatalogDBObject
from lsst.sims.utils import ObservationMetaData
from lsst.sims.catUtils.baseCatalogModels import StarObj, GalaxyBulgeObj, GalaxyDiskObj, GalaxyAgnObj, \
OpSim3_61DBObject
from lsst.sims.GalSimInterface import SNRdocumentPSF, GalSimStars, GalSimGalaxies, \
Expand Down
3 changes: 2 additions & 1 deletion examples/galSimGalaxyBulgeGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"""

import os
from lsst.sims.catalogs.generation.db import CatalogDBObject, ObservationMetaData
from lsst.sims.catalogs.generation.db import CatalogDBObject
from lsst.sims.utils import ObservationMetaData
from lsst.sims.catUtils.baseCatalogModels import GalaxyBulgeObj, OpSim3_61DBObject
from lsst.sims.GalSimInterface import GalSimGalaxies, SNRdocumentPSF

Expand Down
3 changes: 2 additions & 1 deletion examples/galSimGalaxyBulgeWithNoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"""

import os
from lsst.sims.catalogs.generation.db import CatalogDBObject, ObservationMetaData
from lsst.sims.catalogs.generation.db import CatalogDBObject
from lsst.sims.utils import ObservationMetaData
from lsst.sims.catUtils.baseCatalogModels import GalaxyBulgeObj, OpSim3_61DBObject
from lsst.sims.GalSimInterface import GalSimGalaxies, ExampleCCDNoise, \
SNRdocumentPSF
Expand Down
3 changes: 2 additions & 1 deletion examples/galSimStarGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

import os
import galsim
from lsst.sims.catalogs.generation.db import CatalogDBObject, ObservationMetaData
from lsst.sims.catalogs.generation.db import CatalogDBObject
from lsst.sims.utils import ObservationMetaData
from lsst.sims.catUtils.baseCatalogModels import StarObj, OpSim3_61DBObject
from lsst.sims.GalSimInterface import SNRdocumentPSF, GalSimStars

Expand Down
3 changes: 2 additions & 1 deletion examples/galSimStarsWithNoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

import os
import galsim
from lsst.sims.catalogs.generation.db import CatalogDBObject, ObservationMetaData
from lsst.sims.catalogs.generation.db import CatalogDBObject
from lsst.sims.utils import ObservationMetaData
from lsst.sims.catUtils.baseCatalogModels import StarObj, OpSim3_61DBObject
from lsst.sims.GalSimInterface import GalSimStars, SNRdocumentPSF, ExampleCCDNoise
from lsst.sims.photUtils import LSSTdefaults
Expand Down
5 changes: 3 additions & 2 deletions python/lsst/sims/GalSimInterface/galSimCatalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
import copy
from lsst.sims.utils import arcsecFromRadians
from lsst.sims.catalogs.measures.instance import InstanceCatalog, cached, is_null
from lsst.sims.coordUtils import CameraCoords, AstrometryGalaxies, AstrometryStars
from lsst.sims.catUtils.mixins import CameraCoords, AstrometryGalaxies, AstrometryStars, \
EBVmixin
from lsst.sims.GalSimInterface import GalSimInterpreter, GalSimDetector
from lsst.sims.photUtils import EBVmixin, Sed, Bandpass, PhotometryHardware, \
from lsst.sims.photUtils import Sed, Bandpass, PhotometryHardware, \
PhotometricParameters, LSSTdefaults
import lsst.afw.cameraGeom.testUtils as camTestUtils
import lsst.afw.geom as afwGeom
Expand Down
2 changes: 1 addition & 1 deletion tests/testGalSimInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from lsst.sims.photUtils import Bandpass, calcSkyCountsPerPixelForM5, LSSTdefaults, PhotometricParameters
from lsst.sims.catalogs.measures.instance import InstanceCatalog
from lsst.sims.catalogs.generation.utils import makePhoSimTestDB
from lsst.sims.catalogs.generation.db import ObservationMetaData
from lsst.sims.utils import ObservationMetaData
from lsst.sims.GalSimInterface import GalSimGalaxies, GalSimStars, GalSimAgn, \
SNRdocumentPSF, ExampleCCDNoise
from lsst.sims.catUtils.utils import calcADUwrapper, testGalaxyBulgeDBObj, testGalaxyDiskDBObj, \
Expand Down
4 changes: 4 additions & 0 deletions ups/sims_GalSimInterface.table
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
setupRequired(GalSim)
setupRequired(sims_utils)
setupRequired(sims_coordUtils)
setupRequired(sims_catalogs_generation)
setupRequired(sims_catalogs_measures)
setupRequired(sims_catUtils)

setupOptional(obs_lsstSim)
Expand Down

0 comments on commit 7b5f72c

Please sign in to comment.