Skip to content

Commit b441bdf

Browse files
committed
Minor change to noise model
1 parent a368426 commit b441bdf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/source/noise_modelling/noise_models.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"The simplest noise model is the Depth Noise Model, which adds Gaussian noise with a standard deviation determined by the depth of the observation. This takes a depth (in AB mag), and optionally a depth sigma (default 5.0), which sets the SNR at the given depth. The flux is this noise model is distributed in flux space *not* magnitude space.\n",
2626
"\n",
2727
"If you're using this model there are a few things to keep in mind:\n",
28-
"- If you are training in magnitude space and conditioning the model on the magnitude errors, they are not well-behaved near the detection limit, as the flux errors become non-Gaussian in magnitude space. The code uses the approximation sigma_mag = 2.5 / ln(10) * (sigma_flux / flux) to estimate the magnitude errors, but this breaks down near the detection limit, and can lead to very large or undefined magnitude errors. Negative fluxes will lead to NaN magnitude errors.\n"
28+
"- If you are training in magnitude space and conditioning the model on the magnitude errors, they are not well-behaved near the detection limit, as the flux errors become non-Gaussian in magnitude space. The code uses the approximation sigma_mag = 2.5 / ln(10) * (sigma_flux / flux) to estimate the magnitude errors, but this breaks down near the detection limit, and can lead to very large or undefined magnitude errors. Negative fluxes will lead to NaN magnitude errors, as they can't be representing logarithmically. \n"
2929
]
3030
},
3131
{
@@ -389,7 +389,11 @@
389389
]
390390
}
391391
],
392-
"metadata": {},
392+
"metadata": {
393+
"language_info": {
394+
"name": "python"
395+
}
396+
},
393397
"nbformat": 4,
394398
"nbformat_minor": 5
395399
}

0 commit comments

Comments
 (0)