mpdaf icon indicating copy to clipboard operation
mpdaf copied to clipboard

MUSE Python Data Analysis Framework

Results 21 mpdaf issues
Sort by recently updated
recently updated
newest added

When trying to get the wavelength for a particular index in a Cube object, I would usually do: `cbe.wave[i]`, where `[i]` is the index of the layer and cbe is...

I believe the `coord` function inside mpdaf.obj.coords is a bit of confusing at the moment. First, there's the `spaxel` keyword, whose purpose is not documented, but my impression that if...

When running MUSELET step3 the code raises ``` --------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[2], line 1 ----> 1 muselet("../MUSE/DATACUBE_FINAL_ZAP.fits", step=3, n_cpu=10) File ~/anaconda3/envs/python38/lib/python3.8/site-packages/mpdaf/sdetect/muselet.py:1620, in muselet(file_cube, file_expmap, step,...

when using lbda in Angstrom, the line def get_3darray(self, lbda, shape, center=None): """Return FSF cube at the given wavelengths.""" return Moffat2D(self.get_fwhm(lbda, unit='pix'), self.get_beta(lbda), shape, center) should be def get_3darray(self, lbda,...

for unit=u.Unit('nanomaggy'), the line fits.py:170 dsthdr['BUNIT'] = (unit.to_string('fits'), 'data unit type') failes inside a try/except. fix is replacing line fits.py:171 by except: instead of except u.format.fits.UnitScaleError:

Dear developers, I'm using currently your library and I have issues to plot spectra. I have followed to the letter the documentation [syntax ](https://mpdaf.readthedocs.io/en/latest/spectrum.html#) but I can't plot any spectrum...

`cube = Cube("whatever_cube.fits"); cube.wcs.coord(unit=None) ` array([[-66.49549886, -66.49549888, -66.4954989 , ..., -66.49549887, -66.49549886, -66.49549884], [-66.4954433 , -66.49544332, -66.49544334, ..., -66.49544332, -66.4954433 , -66.49544328], [-66.49538775, -66.49538777, -66.49538779, ..., -66.49538776, -66.49538774, -66.49538773], [-66.47805442,...

Dear Community, I'd like to know if there exists an efficient way to compute the spectrum not over all the two-dimensional spatial coordinates, but on selected regions. I've from PHOTUTILS...

Dear MPDAF Community, I´m trying to `pip install mpdaf` in my machine (local) Jupyter, resulting in a long error due to, apparently, no wheels found. In addition to the info...