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
12 changes: 6 additions & 6 deletions notebooks/chapter_2_modeling/tutorial_5_linear_profiles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,9 @@
"source": [
"total_gaussians = 30\n",
"\n",
"# The sigma values of the Gaussians will be fixed to values spanning 0.01 to the mask radius, 3.0\".\n",
"# The sigma values of the Gaussians will be fixed to values spanning a tenth of the pixel scale to the mask radius, 3.0\".\n",
"mask_radius = 3.0\n",
"log10_sigma_list = np.linspace(-2, np.log10(mask_radius), total_gaussians)\n",
"log10_sigma_list = np.linspace(np.log10(dataset.pixel_scales[0] / 10.0), np.log10(mask_radius), total_gaussians)\n",
"\n",
"# By defining the centre here, it creates two free parameters that are assigned below to all Gaussians.\n",
"\n",
Expand Down Expand Up @@ -560,9 +560,9 @@
"source": [
"total_gaussians = 30\n",
"\n",
"# The sigma values of the Gaussians will be fixed to values spanning 0.01 to the mask radius, 3.0\".\n",
"# The sigma values of the Gaussians will be fixed to values spanning a tenth of the pixel scale to the mask radius, 3.0\".\n",
"mask_radius = 3.0\n",
"log10_sigma_list = np.linspace(-2, np.log10(mask_radius), total_gaussians)\n",
"log10_sigma_list = np.linspace(np.log10(dataset.pixel_scales[0] / 10.0), np.log10(mask_radius), total_gaussians)\n",
"\n",
"# By defining the centre here, it creates two free parameters that are assigned below to all Gaussians.\n",
"\n",
Expand Down Expand Up @@ -621,9 +621,9 @@
"source": [
"total_gaussians = 10\n",
"\n",
"# The sigma values of the Gaussians will be fixed to values spanning 0.01 to the mask radius, 3.0\".\n",
"# The sigma values of the Gaussians will be fixed to values spanning a tenth of the pixel scale to the mask radius, 3.0\".\n",
"mask_radius = 3.0\n",
"log10_sigma_list = np.linspace(-2, np.log10(mask_radius), total_gaussians)\n",
"log10_sigma_list = np.linspace(np.log10(dataset.pixel_scales[0] / 10.0), np.log10(mask_radius), total_gaussians)\n",
"\n",
"disk_gaussian_list = []\n",
"\n",
Expand Down
12 changes: 6 additions & 6 deletions scripts/chapter_2_modeling/tutorial_5_linear_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@
"""
total_gaussians = 30

# The sigma values of the Gaussians will be fixed to values spanning 0.01 to the mask radius, 3.0".
# The sigma values of the Gaussians will be fixed to values spanning a tenth of the pixel scale to the mask radius, 3.0".
mask_radius = 3.0
log10_sigma_list = np.linspace(-2, np.log10(mask_radius), total_gaussians)
log10_sigma_list = np.linspace(np.log10(dataset.pixel_scales[0] / 10.0), np.log10(mask_radius), total_gaussians)

# By defining the centre here, it creates two free parameters that are assigned below to all Gaussians.

Expand Down Expand Up @@ -325,9 +325,9 @@
"""
total_gaussians = 30

# The sigma values of the Gaussians will be fixed to values spanning 0.01 to the mask radius, 3.0".
# The sigma values of the Gaussians will be fixed to values spanning a tenth of the pixel scale to the mask radius, 3.0".
mask_radius = 3.0
log10_sigma_list = np.linspace(-2, np.log10(mask_radius), total_gaussians)
log10_sigma_list = np.linspace(np.log10(dataset.pixel_scales[0] / 10.0), np.log10(mask_radius), total_gaussians)

# By defining the centre here, it creates two free parameters that are assigned below to all Gaussians.

Expand Down Expand Up @@ -375,9 +375,9 @@
"""
total_gaussians = 10

# The sigma values of the Gaussians will be fixed to values spanning 0.01 to the mask radius, 3.0".
# The sigma values of the Gaussians will be fixed to values spanning a tenth of the pixel scale to the mask radius, 3.0".
mask_radius = 3.0
log10_sigma_list = np.linspace(-2, np.log10(mask_radius), total_gaussians)
log10_sigma_list = np.linspace(np.log10(dataset.pixel_scales[0] / 10.0), np.log10(mask_radius), total_gaussians)

disk_gaussian_list = []

Expand Down
Loading