Commit d073b615 authored by LUSTIG Peter's avatar LUSTIG Peter
Browse files

small change

parent 69a24aed
......@@ -3,6 +3,7 @@ import matplotlib.pyplot as plt
from nikamap import NikaMap
from import fits
from pathlib import Path
from warnings import warn
def plot(data, wcs=None, ax=None, steps=None):
......@@ -41,7 +42,13 @@ nm =
hlsmaskfile = ('/home/peter/Dokumente/Uni/Paris/Stage/FirstSteps/Completness/'
hlsmask = np.array(fits.getdata(hlsmaskfile, 'HLS2FWHM'), dtype=bool)
hlsmaskfile = ('./masks.fits')
hlsmask = np.array(fits.getdata(hlsmaskfile, 'HLS2FWHM'), dtype=bool)
except FileNotFoundError:
hlsmask = np.zeros(nm.shape, dtype=int)
warn('No mask for HLS found')
# %matplotlib tk
# plot(1/nm.uncertainty.array**2, wcs=nm.wcs)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment