Skip to content

Commit a6d8317

Browse files
Jammy2211Jammy2211
authored andcommitted
Merge branch 'feature/plot-improvements-4'
2 parents f62d7ec + 73e7802 commit a6d8317

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

autolens/aggregator/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222

2323
from autolens.aggregator.subhalo import SubhaloAgg
2424

25-
from autolens.aggregator.subplot import SubplotDataset as subplot_dataset
26-
from autolens.aggregator.subplot import SubplotTracer as subplot_tracer
27-
from autolens.aggregator.subplot import SubplotFitX1Plane as subplot_fit_x1_plane
28-
from autolens.aggregator.subplot import SubplotFit as subplot_fit
29-
from autolens.aggregator.subplot import SubplotFitLog10 as subplot_fit_log10
25+
from autolens.aggregator.subplot import Dataset as subplot_dataset
26+
from autolens.aggregator.subplot import Tracer as subplot_tracer
27+
from autolens.aggregator.subplot import FitX1Plane as subplot_fit_x1_plane
28+
from autolens.aggregator.subplot import Fit as subplot_fit
29+
from autolens.aggregator.subplot import FitLog10 as subplot_fit_log10
3030
from autolens.aggregator.subplot import (
3131
FITSGalaxyImages as fits_galaxy_images,
3232
)

autolens/aggregator/subplot.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ class FITSFit(Enum):
4141
chi_squared_map = "CHI_SQUARED_MAP"
4242

4343

44-
class SubplotDataset(Enum):
44+
class Dataset(Enum):
4545
"""
46-
The subplots that can be extracted from the subplot_fit image.
46+
The subplots that can be extracted from the fit image.
4747
4848
The values correspond to the position of the subplot in the 4x3 grid.
4949
"""
@@ -58,9 +58,9 @@ class SubplotDataset(Enum):
5858
over_sample_size_pixelization = (1, 2)
5959

6060

61-
class SubplotTracer(Enum):
61+
class Tracer(Enum):
6262
"""
63-
The subplots that can be extracted from the subplot_tracer image.
63+
The subplots that can be extracted from the tracer image.
6464
6565
The values correspond to the position of the subplot in the 3x3 grid.
6666
"""
@@ -76,9 +76,9 @@ class SubplotTracer(Enum):
7676
deflections_x = (2, 2)
7777

7878

79-
class SubplotFitX1Plane(Enum):
79+
class FitX1Plane(Enum):
8080
"""
81-
The subplots that can be extracted from the subplot_fit image.
81+
The subplots that can be extracted from the fit image.
8282
8383
The values correspond to the position of the subplot in the 4x3 grid.
8484
"""
@@ -91,9 +91,9 @@ class SubplotFitX1Plane(Enum):
9191
normalized_residual_map = (2, 1)
9292

9393

94-
class SubplotFit(Enum):
94+
class Fit(Enum):
9595
"""
96-
The subplots that can be extracted from the subplot_fit image.
96+
The subplots that can be extracted from the fit image.
9797
9898
The values correspond to the position of the subplot in the 4x3 grid.
9999
"""
@@ -112,9 +112,9 @@ class SubplotFit(Enum):
112112
source_plane_image = (3, 2)
113113

114114

115-
class SubplotFitLog10(Enum):
115+
class FitLog10(Enum):
116116
"""
117-
The subplots that can be extracted from the subplot_fit image.
117+
The subplots that can be extracted from the fit image.
118118
119119
The values correspond to the position of the subplot in the 4x3 grid.
120120
"""

autolens/config/visualize/plots.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ positions: # Settings for plots with resampling
2222

2323
fit: # Settings for plots of all fits (e.g. FitImaging, FitInterferometer).
2424
subplot_fit: true # Plot subplot of all fit quantities for any dataset (e.g. the model data, residual-map, etc.)?
25-
subplot_fit_log10: true # Plot subplot of all fit quantities for any dataset using log10 color maps (e.g. the model data, residual-map, etc.)?
25+
subplot_fit_log10: false # Plot subplot of all fit quantities for any dataset using log10 color maps (e.g. the model data, residual-map, etc.)?
2626
subplot_of_planes: false # Plot subplot of the model-image, subtracted image and other quantities of each plane?
2727
subplot_galaxies_images: false # Plot subplot of the image of each plane in the model?
2828
fits_fit: true # Output a .fits file containing the fit model data, residual map, normalized residual map and chi-squared?

0 commit comments

Comments
 (0)