(nside)
return 0
Checks whether the nside used in a certain operation does not exceed the
    maximum supported nside. The maximum nside is saved in MAX_NSIDE.

    Parameters
    ----------
    nside : int
        nside of the map that is being checked
Checks whether the nside used in a certain operation does not exceed the
    maximum supported nside. The maximum nside is saved in MAX_NSIDE.
Checks whether the nside used in a certain operation does not exceed the maximum supported nside . The maximum nside is saved in MAX_NSIDE .
def check_max_nside(nside):
    """Checks whether the nside used in a certain operation does not exceed the
    maximum supported nside. The maximum nside is saved in MAX_NSIDE.

    Parameters
    ----------
    nside : int
        nside of the map that is being checked
    """

    if nside > MAX_NSIDE:
        raise ValueError(
            "nside {nside} of map cannot be larger than "
            "MAX_NSIDE {max_nside}".format(nside=nside, max_nside=MAX_NSIDE)
        )

    return 0
def check_max_nside ( nside ) : if nside > MAX_NSIDE : raise ValueError ( "nside {nside} of map cannot be larger than " "MAX_NSIDE {max_nside}" . format ( nside = nside , max_nside = MAX_NSIDE ) ) return 0