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
3 changes: 3 additions & 0 deletions autogalaxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

from autoconf.dictable import from_dict, from_json, output_to_json, to_dict
from autoarray.dataset import preprocess # noqa
from autoarray.dataset.interferometer.w_tilde import (
load_curvature_preload_if_compatible,
)
from autoarray.dataset.imaging.dataset import Imaging # noqa
from autoarray.dataset.interferometer.dataset import Interferometer # noqa
from autoarray.dataset.dataset_model import DatasetModel
Expand Down
2 changes: 1 addition & 1 deletion autogalaxy/aggregator/interferometer/interferometer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _interferometer_from(
)
uv_wavelengths = fit.value(name="dataset")[3].data

transformer_class = fit.value(name="dataset.transformer_class")
transformer_class = fit.value(name="transformer_class")

dataset = aa.Interferometer(
data=data,
Expand Down
3 changes: 2 additions & 1 deletion autogalaxy/interferometer/model/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,6 @@ def save_attributes(self, paths: af.DirectoryPaths):
super().save_attributes(paths=paths)

paths.save_json(
"transformer_class", to_dict(self.dataset.transformer.__class__), "dataset"
"transformer_class",
to_dict(self.dataset.transformer.__class__),
)
3 changes: 0 additions & 3 deletions autogalaxy/profiles/mass/total/isothermal.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@ def deflections_yx_2d_from(self, grid: aa.type.Grid2DLike, xp=np, **kwargs):
"""
Calculate the deflection angles on a grid of (y,x) arc-second coordinates.

For coordinates (0.0, 0.0) the analytic calculation of the deflection angle gives a NaN. Therefore,
coordinates at (0.0, 0.0) are shifted slightly to (1.0e-8, 1.0e-8).

Parameters
----------
grid
Expand Down
Loading