a
    ߙfb                     @   sT   d dl mZ d dlmZ d dlmZmZmZ d dl	m
Z dd Zdd Zd	d
 ZdS )    )assert_almost_equal)units)select_step_degreeselect_step_hourselect_step_scalar)assert_quantity_allclosec                   C   s  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t td	tj d	tj  t td
tj dtj  t tdtj dtj  t tdtj d	tj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  d S )N   g     f@,   g     F@      333333@      ;      !      皙@皙?皙?)\(?皙?I+?g{Gz?"uq?{Gzt?m2K?gMbP? 3O>gh㈵>)assert_almost_equal_quantityr   udegarcminarcsec r"   r"   Mlib/python3.9/site-packages/astropy/visualization/wcsaxes/tests/test_utils.pytest_select_step_degree   s    r$   c                   C   s  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t td	tj d
tj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  t tdtj dtj  d S )Nr   g       @r	   g      @r
   r   r   r   r   g      ?r   r   r   r   r   r   g      ?r   g333333?r   r   gQ?r   g~jth?r   g~jtH?r   giUMu>)r   r   r   r   Z	hourangler    r!   r"   r"   r"   r#   test_select_step_hour   s    r%   c                   C   s   t tdd t tdd t tdd t tdd t td	d
 t tdd t tdd t tdd t tdd t tdd d S )Ng    @,@g     j@g     {@g     @@g(@
   gffffff
@g      @gQ?g      ?gׁs?r   gGĔHw?r   gK8,?g-C6*?gTqs*>gh㈵>gS5>gƠ>)r   r   r"   r"   r"   r#   test_select_step_scalar1   s    r'   N)Znumpy.testingr   Zastropyr   r   Z#astropy.visualization.wcsaxes.utilsr   r   r   Zastropy.tests.helperr   r   r$   r%   r'   r"   r"   r"   r#   <module>   s   