
    R1ia                     .    d dl mZmZmZ ddlmZmZ d Zy)    )arraycossin   )ASEC2RADT0c           	      L   d}| t         z
  dz  }d|z  dz   |z  dz
  |z  dz
  |z  dz   |z  }d|z  d	z
  |z  d
z
  |z  dz   |z  dz
  |z  |z   }d|z  dz   |z  dz
  |z  dz
  |z  dz   |z  }|t        z  }|t        z  }|t        z  }|t        z  }t        |      }t        |      }t        |       }t        |       }	t        |       }
t        |       }t        |      }t        |      }t	        ||	z  ||z  |z  z
  ||z  |z  ||z  |	z  |z  z   ||z  |
z  z
  ||z  |z  ||z  |	z  |z  z   ||z  |
z  z   f| |	z  ||z  |z  z
  | |z  |z  ||z  |	z  |z  z   ||z  |
z  z
  | |z  |z  ||z  |	z  |z  z   ||z  |
z  z   f||
z  |
 |	z  |z  ||z  z
  |
 |	z  |z  ||z  z   ff      }|S )zReturn the rotation matrices for precessing to an array of epochs.

    `jd_tdb` - array of TDB Julian dates

    The array returned has the shape `(3, 3, n)` where `n` is the number
    of dates that have been provided as input.

    g#~֙@g    @gt8ygfi!?gjdR?g:C?g
D{@gd>gq~V>g^G?gR	\??gA_?gC֔ngʽ^&?g ^S?ga*@gʠ%@)r   r   r   r   r   )jd_tdbeps0tpsiaomegaachiasacasbcbscccsdcdrot3s                  Z/home/cursorai/projects/iching/venv/lib/python3.12/site-packages/skyfield/precessionlib.pycompute_precessionr      s    D 
"A #a'!"&'( !&'(    '(( 	 '(	(D #a'!"&'( !&'(    '(( 	 '(	( +/	/F #a'!"&'( !&'(    '(( 	 '(	(D (?D(?DhF(?D	TB	TB	dUB	dUB	fWB	fWB	TB	TB
 27R"Wr\)7R<"r'B,"33b2glB7R<"r'B,"33b2glBD 38b2gl*38b=27R<"#44rBw|C38b=27R<"#44rBw|CE 738b=27*38b=27*,- .D K    N)numpyr   r   r   	constantsr   r   r    r   r   <module>r      s    ! ! #@r   