| | |
- POINTER(...)
- addressof(...)
- addressof(C instance) -> integer
Return the address of the C instance internal buffer
- alignment(...)
- alignment(C type) -> integer
alignment(C instance) -> integer
Return the alignment requirements of a C instance
- byref(...)
- byref(C instance[, offset=0]) -> byref-object
Return a pointer lookalike to a C instance, only usable
as function argument
- get_errno(...)
- iau2000a(jd_high, jd_low)
- Computes the forced nutation of the non-rigid Earth based on the
IAU 2000A nutation model.
Parameters
----------
jd_high : float
High-order part of TT Julian date.
jd_low : float
Low-order part of TT Julian date.
Returns
-------
(dpsi, deps) : tuple of floats
Nutation (luni-solar + planetary) in (longitude, obliquity) in
radians.
Notes
-----
.. [N1] The IAU 2000A nutation model is MHB_2000 without the free
core nutation and without the corrections to Lieske precession.
References
----------
.. [R1] IERS Conventions (2003), Chapter 5.
.. [R2] Simon et al. (1994) Astronomy and Astrophysics 282, 663-683,
esp. Sections 3.4-3.5.
- iau2000b(jd_high, jd_low)
- Computes the forced nutation of the non-rigid Earth based on the
IAU 2000B precession/nutation model.
Parameters
----------
jd_high : float
High-order part of TT Julian date.
jd_low : float
Low-order part of TT Julian date.
Returns
-------
(dpsi, deps) : tuple of floats
Nutation (luni-solar + planetary) in (longitude, obliquity) in
radians.
Notes
-----
.. [N1] IAU 2000B reproduces the IAU 2000A model to a precision of
1 milliarcsecond in the interval 1995-2020.
References
----------
.. [R1] McCarthy, D. and Luzum, B. (2003). "An Abridged Model of the
Precession & Nutation of the Celestial Pole," Celestial
Mechanics and Dynamical Astronomy, Volume 85, Issue 1,
Jan. 2003, p. 37. (IAU 2000B)
.. [R2] IERS Conventions (2003), Chapter 5.
- nu2000k(jd_high, jd_low)
- Computes the forced nutation of the non-rigid Earth: Model NU2000K.
This model is a modified version of IAU 2000A, which has been
truncated for speed of execution, and uses Simon et al. (1994)
fundamental arguments throughout.NU2000K agrees with IAU 2000A at
the 0.1 milliarcsecond level from 1700 to 2300.
Parameters
----------
jd_high : float
High-order part of TT Julian date.
jd_low : float
Low-order part of TT Julian date.
Returns
-------
(dpsi, deps) : tuple of floats
Nutation (luni-solar + planetary) in (longitude, obliquity) in
radians.
Notes
-----
.. [N1] NU2000K was compared to IAU 2000A over six centuries
(1700-2300). The average error in dpsi is 20 microarcseconds,
with 98% of the errors < 60 microarcseconds;the average error in
deleps is 8 microarcseconds, with 100% of the errors < 60
microarcseconds.
.. [N2] NU2000K was developed by G. Kaplan (USNO) in March 2004.
References
----------
.. [R1] IERS Conventions (2003), Chapter 5.
.. [R2] Simon et al. (1994) Astronomy and Astrophysics 282, 663-683,
esp. Sections 3.4-3.5.
- pointer(...)
- resize(...)
- Resize the memory buffer of a ctypes instance
- set_conversion_mode(...)
- set_conversion_mode(encoding, errors) -> (previous-encoding, previous-errors)
Set the encoding and error handling ctypes uses when converting
between unicode and strings. Returns the previous values.
- set_errno(...)
- sizeof(...)
- sizeof(C type) -> integer
sizeof(C instance) -> integer
Return the size in bytes of a C instance
|