### MaxOrder

The highest HEALPix order used in the MOC

#### Description:

This attribute gives the best resolution of the MOC expressed as a HEALPix order in the range zero to 27 (this class does not support orders greater than 27). It’ s value can only be set once (for instance as an option when the Moc constructor is invoked). An error will be reported if a subsequent attempt to set or clear the attribute is made. If no value is supplied for MaxOrder before the first area of sky is added to the empty Moc, then a default value will be selected and set, depending on the method used to add the first area to the Moc:

A default value of -1 will be returned for the MaxOrder attribute prior to its value being set.

The MaxRes attribute is equivalent to MaxOrder but expresses the resolution as a number of arc-seconds rather than as a HEALPix order.

Increasing the HEALPix order by one roughly halves the resolution of the Moc. For instance, a value of 18 corresponds to a resolution of about 0.8 arc-second, and 19 corresponds to about 0.4 arc-seconds.

Type:
Integer.

#### Applicability

##### Moc
All Mocs have this attribute.