B
    îq\   ã               @   sF   d Z ddddgZddd„Zddd„Zdd	d„Zdd
d„Zddd„ZdS )zJ
astropy.wcs-specific utilities for generating boilerplate in docstrings.
ÚTWO_OR_MORE_ARGSÚRETURNSÚORIGINÚRA_DEC_ORDERé    c             C   s    |   d¡}dd|  }| |¡S )NÚ
ú )ÚsplitÚjoin)ZcontentÚindentÚlines© r   ú3lib/python3.7/site-packages/astropy/wcs/_docutil.pyÚ_fix   s    
r   c             C   s   t d | ¡|ƒS )Naç  args : flexible
    There are two accepted forms for the positional arguments:

        - 2 arguments: An *N* x *{0}* array of coordinates, and an
          *origin*.

        - more than 2 arguments: An array for each axis, followed by
          an *origin*.  These arrays must be broadcastable to one
          another.

    Here, *origin* is the coordinate in the upper left corner of the
    image.  In FITS and Fortran standards, this is 1.  In Numpy and C
    standards this is 0.
)r   Úformat)Znaxisr
   r   r   r   r      s    c             C   s   t d | ¡|ƒS )Nzresult : array
    Returns the {0}.  If the input was a single array and
    origin, a single array is returned, otherwise a tuple of arrays is
    returned.)r   r   )Zout_typer
   r   r   r   r   #   s    c             C   s
   t d| ƒS )Nz¦
origin : int
    Specifies the origin of pixel values.  The Fortran and FITS
    standards use an origin of 1.  Numpy and C use array indexing with
    origin at 0.
)r   )r
   r   r   r   r   *   s    c             C   s
   t d| ƒS )Nzü
ra_dec_order : bool, optional
    When `True` will ensure that world coordinates are always given
    and returned in as (*ra*, *dec*) pairs, regardless of the order of
    the axes specified by the in the ``CTYPE`` keywords.  Default is
    `False`.
)r   )r
   r   r   r   r   4   s    N)r   )r   )r   )r   )r   )Ú__doc__Ú__all__r   r   r   r   r   r   r   r   r   Ú<module>   s   




