Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-sims
csst_msc_sim
Commits
520b28aa
Commit
520b28aa
authored
May 12, 2024
by
Fang Yuedong
Browse files
rename PSF package
parent
27646bc4
Changes
11
Hide whitespace changes
Inline
Side-by-side
observation_sim/
PSF
/FieldDistortion.py
→
observation_sim/
psf
/FieldDistortion.py
View file @
520b28aa
File moved
observation_sim/
PSF
/PSFGauss.py
→
observation_sim/
psf
/PSFGauss.py
View file @
520b28aa
...
...
@@ -3,7 +3,7 @@ import sep
import
numpy
as
np
from
scipy.interpolate
import
interp1d
from
observation_sim.
PSF
.PSFModel
import
PSFModel
from
observation_sim.
psf
.PSFModel
import
PSFModel
class
PSFGauss
(
PSFModel
):
...
...
observation_sim/
PSF
/PSFInterp.py
→
observation_sim/
psf
/PSFInterp.py
View file @
520b28aa
...
...
@@ -12,7 +12,7 @@ import scipy.spatial as spatial
import
galsim
import
h5py
from
observation_sim.
PSF
.PSFModel
import
PSFModel
from
observation_sim.
psf
.PSFModel
import
PSFModel
NPSF
=
900
# ***# 30*30
...
...
observation_sim/
PSF
/PSFInterpSLS.py
→
observation_sim/
psf
/PSFInterpSLS.py
View file @
520b28aa
...
...
@@ -14,7 +14,7 @@ import galsim
import
h5py
from
observation_sim.instruments
import
Filter
,
FilterParam
,
Chip
from
observation_sim.
PSF
.PSFModel
import
PSFModel
from
observation_sim.
psf
.PSFModel
import
PSFModel
from
observation_sim.instruments.chip
import
chip_utils
import
os
from
astropy.io
import
fits
...
...
observation_sim/
PSF
/PSFModel.py
→
observation_sim/
psf
/PSFModel.py
View file @
520b28aa
File moved
observation_sim/
PSF
/__init__.py
→
observation_sim/
psf
/__init__.py
View file @
520b28aa
File moved
observation_sim/sim_steps/add_objects.py
View file @
520b28aa
...
...
@@ -5,7 +5,7 @@ import traceback
import
numpy
as
np
import
galsim
from
observation_sim._util
import
get_shear_field
from
observation_sim.
PSF
import
PSFGauss
,
FieldDistortion
,
PSFInterp
,
PSFInterpSLS
from
observation_sim.
psf
import
PSFGauss
,
FieldDistortion
,
PSFInterp
,
PSFInterpSLS
from
astropy.time
import
Time
from
datetime
import
datetime
,
timezone
...
...
tests/test_PSFmodule.py
View file @
520b28aa
...
...
@@ -9,7 +9,7 @@ import galsim
import
yaml
from
observation_sim.instruments
import
Chip
,
Filter
,
FilterParam
,
FocalPlane
from
observation_sim.
PSF
.PSFInterp
import
PSFInterp
from
observation_sim.
psf
.PSFInterp
import
PSFInterp
def
defineCCD
(
iccd
,
config_file
):
...
...
tests/test_SpecDisperse.py
View file @
520b28aa
...
...
@@ -9,7 +9,7 @@ from observation_sim.mock_objects.SpecDisperser import rotate90, SpecDisperser
from
observation_sim.config
import
ChipOutput
from
observation_sim.instruments
import
Telescope
,
Chip
,
FilterParam
,
Filter
,
FocalPlane
from
observation_sim.mock_objects
import
MockObject
,
Star
from
observation_sim.
PSF
import
PSFGauss
from
observation_sim.
psf
import
PSFGauss
import
numpy
as
np
import
galsim
...
...
tests/test_imaging.py
View file @
520b28aa
...
...
@@ -19,7 +19,7 @@ from observation_sim.mock_objects._util import getObservedSED
from
observation_sim.mock_objects
import
CatalogBase
,
Galaxy
from
observation_sim.instruments
import
Chip
,
Filter
,
FilterParam
,
FocalPlane
from
observation_sim.
PSF
.PSFInterp
import
PSFInterp
from
observation_sim.
psf
.PSFInterp
import
PSFInterp
from
observation_sim.mock_objects._util
import
integrate_sed_bandpass
,
getNormFactorForSpecWithABMAG
,
getABMAG
...
...
tools/get_PSF.py
View file @
520b28aa
import
os
import
numpy
as
np
import
observation_sim.
PSF
.PSFInterp
as
PSFInterp
import
observation_sim.
psf
.PSFInterp
as
PSFInterp
from
observation_sim.instruments
import
Chip
,
Filter
,
FilterParam
import
yaml
import
galsim
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment