Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions scripts/group/features/multi_gaussian_expansion/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@

Solve for the lensed positions of the source galaxy.
"""
import os

small_datasets = os.environ.pop("PYAUTO_SMALL_DATASETS", None)

solver = al.PointSolver.for_grid(
grid=al.Grid2D.uniform(shape_native=(500, 500), pixel_scales=0.1),
pixel_scale_precision=0.001,
Expand All @@ -240,9 +236,6 @@
tracer=tracer, source_plane_coordinate=source_galaxy.bulge.centre
)

if small_datasets is not None:
os.environ["PYAUTO_SMALL_DATASETS"] = small_datasets

al.output_to_json(
obj=positions,
file_path=dataset_path / "positions.json",
Expand Down
7 changes: 0 additions & 7 deletions scripts/group/features/no_lens_light/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,6 @@
Solve for the lensed positions of the source galaxy, which are used as input for the group
modeling scripts (e.g. SLaM pipeline) to help the non-linear search converge.
"""
import os

small_datasets = os.environ.pop("PYAUTO_SMALL_DATASETS", None)

solver = al.PointSolver.for_grid(
grid=al.Grid2D.uniform(shape_native=(500, 500), pixel_scales=0.1),
pixel_scale_precision=0.001,
Expand All @@ -268,9 +264,6 @@
tracer=tracer, source_plane_coordinate=source_galaxy.bulge.centre
)

if small_datasets is not None:
os.environ["PYAUTO_SMALL_DATASETS"] = small_datasets

al.output_to_json(
obj=positions,
file_path=dataset_path / "positions.json",
Expand Down
7 changes: 0 additions & 7 deletions scripts/group/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@
Solve for the lensed positions of the source galaxy, which are used as input for the group
modeling scripts (e.g. SLaM pipeline) to help the non-linear search converge.
"""
import os

small_datasets = os.environ.pop("PYAUTO_SMALL_DATASETS", None)

solver = al.PointSolver.for_grid(
grid=al.Grid2D.uniform(shape_native=(500, 500), pixel_scales=0.1),
pixel_scale_precision=0.001,
Expand All @@ -305,9 +301,6 @@
tracer=tracer, source_plane_coordinate=source_galaxy.bulge.centre
)

if small_datasets is not None:
os.environ["PYAUTO_SMALL_DATASETS"] = small_datasets

al.output_to_json(
obj=positions,
file_path=dataset_path / "positions.json",
Expand Down
Loading