Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-superonion committed Aug 31, 2023
1 parent fdafe7b commit 24b9004
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fpfs/simutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,12 +522,12 @@ def _random_gals(
g2,
nrot,
shifts,
npoints=30,
):
ud = galsim.UniformDeviate(seed)
# use galaxies with random knots
# we only support three versions of small galaxies
logging.info("Making galaxies with Random Knots.")
npoints = 30
gal0 = None

for iy in range(ngaly):
Expand Down Expand Up @@ -588,6 +588,7 @@ def make_isolate_sim(
nrot=nrot_default,
mag_cut=None,
do_shift=None,
npoints=30,
):
"""Makes basic **isolated** galaxy image simulation.
Expand Down Expand Up @@ -689,6 +690,7 @@ def make_isolate_sim(
g2,
nrot,
shifts,
npoints,
)
else:
raise ValueError("gal_type should cotain 'basic' or 'random'!!")
Expand Down

0 comments on commit 24b9004

Please sign in to comment.