returns nside such that npix = 12*nside^2 nside should by power of 2 and smaller than ns_max if not return -1
@param npix long the number of pixels in the map
@return nside long the map resolution parameter
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.