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
Binary file modified dataset/imaging/extra_galaxies/data.fits
Binary file not shown.
26 changes: 13 additions & 13 deletions dataset/imaging/extra_galaxies/galaxies.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,45 @@
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.sersic.Sersic",
"arguments": {
"sersic_index": 3.0,
"centre": {
"intensity": 1.0,
"ell_comps": {
"type": "tuple",
"values": [
0.0,
0.0
0.05263157894736841,
3.2227547345982974e-18
]
},
"ell_comps": {
"sersic_index": 3.0,
"centre": {
"type": "tuple",
"values": [
0.05263157894736841,
3.2227547345982974e-18
0.0,
0.0
]
},
"intensity": 1.0,
"effective_radius": 0.6
}
},
"disk": {
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.exponential.Exponential",
"arguments": {
"effective_radius": 1.6,
"centre": {
"type": "tuple",
"values": [
0.0,
0.0
]
},
"intensity": 0.5,
"ell_comps": {
"type": "tuple",
"values": [
0.152828012432548,
0.08823529411764709
]
}
},
"intensity": 0.5,
"effective_radius": 1.6
}
}
}
Expand All @@ -64,14 +64,14 @@
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.exponential.ExponentialSph",
"arguments": {
"effective_radius": 0.5,
"centre": {
"type": "tuple",
"values": [
1.0,
3.5
]
},
"effective_radius": 0.5,
"intensity": 2.0
}
}
Expand All @@ -87,14 +87,14 @@
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.exponential.ExponentialSph",
"arguments": {
"effective_radius": 0.8,
"centre": {
"type": "tuple",
"values": [
-2.0,
-3.5
]
},
"effective_radius": 0.8,
"intensity": 2.0
}
}
Expand Down
Binary file modified dataset/imaging/extra_galaxies/noise_map.fits
Binary file not shown.
Binary file modified dataset/imaging/sersic_x2/data.fits
Binary file not shown.
8 changes: 4 additions & 4 deletions dataset/imaging/sersic_x2/galaxies.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.sersic.Sersic",
"arguments": {
"effective_radius": 0.8,
"sersic_index": 2.5,
"centre": {
"type": "tuple",
"values": [
Expand All @@ -20,7 +20,7 @@
]
},
"intensity": 0.1,
"sersic_index": 2.5,
"effective_radius": 0.8,
"ell_comps": {
"type": "tuple",
"values": [
Expand All @@ -42,7 +42,7 @@
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.sersic.Sersic",
"arguments": {
"effective_radius": 0.6,
"sersic_index": 3.0,
"centre": {
"type": "tuple",
"values": [
Expand All @@ -51,7 +51,7 @@
]
},
"intensity": 0.1,
"sersic_index": 3.0,
"effective_radius": 0.6,
"ell_comps": {
"type": "tuple",
"values": [
Expand Down
Binary file modified dataset/imaging/sersic_x2/galaxy_subtracted_data.fits
Binary file not shown.
Binary file modified dataset/imaging/sersic_x2/noise_map.fits
Binary file not shown.
Binary file modified dataset/imaging/simulated_galaxy/data.fits
Binary file not shown.
Binary file modified dataset/imaging/simulated_galaxy/noise_map.fits
Binary file not shown.
Binary file modified dataset/interferometer/simple/data.fits
Binary file not shown.
32 changes: 16 additions & 16 deletions dataset/interferometer/simple/galaxies.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.sersic.Sersic",
"arguments": {
"effective_radius": 0.6,
"intensity": 1.0,
"centre": {
"type": "tuple",
"values": [
0.0,
0.0
]
},
"ell_comps": {
"type": "tuple",
"values": [
Expand All @@ -21,33 +26,28 @@
]
},
"sersic_index": 3.0,
"centre": {
"type": "tuple",
"values": [
0.0,
0.0
]
}
"intensity": 1.0,
"effective_radius": 0.6
}
},
"disk": {
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.exponential.Exponential",
"arguments": {
"intensity": 0.5,
"ell_comps": {
"centre": {
"type": "tuple",
"values": [
0.152828012432548,
0.08823529411764709
0.0,
0.0
]
},
"effective_radius": 1.6,
"centre": {
"intensity": 0.5,
"ell_comps": {
"type": "tuple",
"values": [
0.0,
0.0
0.152828012432548,
0.08823529411764709
]
}
}
Expand Down
Binary file modified dataset/interferometer/simulated_galaxy/data.fits
Binary file not shown.
Binary file modified dataset/multi/imaging/simple/g_data.fits
Binary file not shown.
36 changes: 18 additions & 18 deletions dataset/multi/imaging/simple/g_galaxies.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,51 @@
"type": "instance",
"class_path": "autogalaxy.galaxy.galaxy.Galaxy",
"arguments": {
"redshift": 0.5,
"label": null,
"redshift": 0.5,
"bulge": {
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.sersic.Sersic",
"arguments": {
"sersic_index": 3.0,
"ell_comps": {
"type": "tuple",
"values": [
0.05263157894736841,
3.2227547345982974e-18
]
},
"intensity": 0.2,
"effective_radius": 0.6,
"centre": {
"type": "tuple",
"values": [
0.0,
0.0
]
}
},
"ell_comps": {
"type": "tuple",
"values": [
0.05263157894736841,
3.2227547345982974e-18
]
},
"effective_radius": 0.6
}
},
"disk": {
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.exponential.Exponential",
"arguments": {
"effective_radius": 1.6,
"ell_comps": {
"centre": {
"type": "tuple",
"values": [
0.152828012432548,
0.08823529411764709
0.0,
0.0
]
},
"intensity": 0.2,
"centre": {
"ell_comps": {
"type": "tuple",
"values": [
0.0,
0.0
0.152828012432548,
0.08823529411764709
]
}
},
"effective_radius": 1.6
}
}
}
Expand Down
Binary file modified dataset/multi/imaging/simple/g_noise_map.fits
Binary file not shown.
Binary file modified dataset/multi/imaging/simple/r_data.fits
Binary file not shown.
36 changes: 18 additions & 18 deletions dataset/multi/imaging/simple/r_galaxies.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,51 @@
"type": "instance",
"class_path": "autogalaxy.galaxy.galaxy.Galaxy",
"arguments": {
"redshift": 0.5,
"label": null,
"redshift": 0.5,
"bulge": {
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.sersic.Sersic",
"arguments": {
"sersic_index": 3.0,
"ell_comps": {
"type": "tuple",
"values": [
0.05263157894736841,
3.2227547345982974e-18
]
},
"intensity": 0.4,
"effective_radius": 0.6,
"centre": {
"type": "tuple",
"values": [
0.0,
0.0
]
}
},
"ell_comps": {
"type": "tuple",
"values": [
0.05263157894736841,
3.2227547345982974e-18
]
},
"effective_radius": 0.6
}
},
"disk": {
"type": "instance",
"class_path": "autogalaxy.profiles.light.standard.exponential.Exponential",
"arguments": {
"effective_radius": 1.6,
"ell_comps": {
"centre": {
"type": "tuple",
"values": [
0.152828012432548,
0.08823529411764709
0.0,
0.0
]
},
"intensity": 0.5,
"centre": {
"ell_comps": {
"type": "tuple",
"values": [
0.0,
0.0
0.152828012432548,
0.08823529411764709
]
}
},
"effective_radius": 1.6
}
}
}
Expand Down
Binary file modified dataset/multi/imaging/simple/r_noise_map.fits
Binary file not shown.
2 changes: 0 additions & 2 deletions output/.gitignore

This file was deleted.

3 changes: 1 addition & 2 deletions scripts/ellipse/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@
**Multipoles:** Loading and inspecting multipole model-fit results from the database.
"""

# from autoconf import setup_notebook; setup_notebook()
# from autoconf import setup_notebook; setup_notebook()

import os
from os import path
from pathlib import Path

import autofit as af
Expand Down
7 changes: 3 additions & 4 deletions scripts/guides/hpc/example_cpu_and_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@

You will need to update `hpc_username` to your hpc username below.
"""
from os import path
from pathlib import Path

hpc_output_path = Path(path.sep) / "hpc" / "data" / "hpc_username" / "output"
Expand Down Expand Up @@ -205,7 +204,7 @@
"""
dataset_path = Path(hpc_dataset_path, dataset_type, dataset_name)

if not dataset_path.exists():
if not dataset_Path().exists():
local_dataset_path = Path.cwd()
dataset_type = "imaging"
dataset_path = Path(local_dataset_path, "dataset", dataset_type, dataset_name)
Expand Down Expand Up @@ -240,7 +239,7 @@

dataset_path = Path(hpc_dataset_path, dataset_folder, dataset_name)

if not dataset_path.exists():
if not dataset_Path().exists():
local_dataset_path = Path.cwd()
dataset_folder = "imaging"
dataset_path = Path(local_dataset_path, "dataset", dataset_folder, dataset_name)
Expand All @@ -252,7 +251,7 @@
If the dataset does not already exist on your system, it will be created by running the corresponding
simulator script. This ensures that all example scripts can be run without manually simulating data first.
"""
if not dataset_path.exists():
if not dataset_Path().exists():
import subprocess
import sys

Expand Down
Loading
Loading