# healpy.pixelfunc.get_nside¶

healpy.pixelfunc.get_nside(m)

Return the nside of the given map.

Parameters
msequence

the map to get the nside from.

Returns
nsideint

the healpix nside parameter of the map (or sequence of maps)

Notes

If the input is a sequence of maps, all of them must have same size. If the input is not a valid map (not a sequence, unvalid number of pixels), a TypeError exception is raised.