# res2nSide

Find minimum HEALPix resolution parameter yielding required resolution

## Contents

- Syntax
- Input Arguments
- Return Arguments
- Example
- See also

## Syntax

    nSide = res2nSide(r)

## Input Arguments

    r        angular resolution (arc seconds)

## Return Arguments

    nSide    minimum base pixel sub-divisions corresponding to resolution r

## Example

    r = 100*rand(3,4);
    nSide = res2nSide(r)

    nSide =

            8192        4096        4096        4096
           16384        4096       16384       16384
            8192        8192        4096       32768

## See also

nSide2res

Copyright 2010-2011 Lee Samuel Finn. Terms of Use.