Skip to content

Commit

Permalink
fix pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
Camilla Pacifici committed Jul 10, 2024
1 parent fe9beeb commit ae1917f
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,15 @@
" Tophat2DKernel, convolve)\n",
"from astropy.modeling import fitting, models\n",
"from astropy.nddata.blocks import block_reduce\n",
"from astropy.stats import SigmaClip, gaussian_fwhm_to_sigma\n",
"from astropy.stats import SigmaClip\n",
"from astropy.table import Table\n",
"from IPython.display import Image\n",
"from jdaviz import Imviz\n",
"from photutils.background import (Background2D, BiweightLocationBackground,\n",
"from photutils.background import (Background2D,\n",
" BkgIDWInterpolator, BkgZoomInterpolator,\n",
" MedianBackground, SExtractorBackground)\n",
" MedianBackground)\n",
"from photutils.datasets import make_gaussian_sources_image\n",
"from photutils.segmentation import detect_sources, make_2dgaussian_kernel\n",
"from photutils.utils import ShepardIDWInterpolator as idw\n",
"from scipy import interpolate, ndimage, stats\n",
"from scipy.ndimage import median_filter"
]
},
Expand Down Expand Up @@ -1221,7 +1219,7 @@
"source": [
"plt.figure(figsize=(10, 6))\n",
"perfect = rms['perfect']\n",
"plt.plot(rms['widths'], rms['bkg1']/perfect, alpha=0.5,label='bkg1')\n",
"plt.plot(rms['widths'], rms['bkg1']/perfect, alpha=0.5, label='bkg1')\n",
"plt.plot(rms['widths'], rms['bkg2']/perfect, alpha=0.5, label='bkg2')\n",
"plt.plot(rms['widths'], rms['bkg3']/perfect, alpha=0.5, label='bkg3')\n",
"plt.plot(rms['widths'], rms['bkg4']/perfect, alpha=0.5, label='bkg4')\n",
Expand Down

0 comments on commit ae1917f

Please sign in to comment.