================================================================================ ASTROPY - USER GUIDE (Android Python STB) - Generated by RIMI ================================================================================ WHAT IT IS ---------- astropy 8.0.1 is the core library for astronomy and astrophysics in Python: celestial time and coordinate systems, physical units and quantities, FITS/votable/ascii table I/O, WCS sky projections, cosmology, modeling, statistics, convolution, and time-series periodograms. Upstream: https://www.astropy.org/ (source: astropy-8.0.1.tar.gz from PyPI) INSTALL ORDER (all required first, then astropy) ------------------------------------------------ 1. numpy 2.5.2 (native wheel, own package folder) 2. pyerfa 2.0.1.5 (native wheel, own package folder) 3. astropy-iers-data, packaging, PyYAML (pure-Python, any order) 4. ONE of: astropy-8.0.1-cp312-cp312-android_24_x86_64.whl (emulator / x86_64) astropy-8.0.1-cp312-cp312-android_24_arm64_v8a.whl (real phone / ARM64) Install with the PipManager UI in the app (do NOT push arm64 wheels to the x86_64 emulator or vice versa). QUICK START ----------- import astropy astropy.__version__ # '8.0.1' from astropy.time import Time t = Time('2026-01-01T00:00:00', scale='utc') t.iso # '2026-01-01 00:00:00.000' t.unix # 1767225600.0 import astropy.units as u (75.0 * u.km / u.s).to(u.m / u.s) (1.0 * u.solMass).to(u.kg) from astropy.coordinates import SkyCoord c = SkyCoord('10h00m00s', '+30d00m00s', frame='icrs') c.galactic # l / b, ERFA-only, works offline from astropy.table import Table tab = Table({'a': [1, 2, 3]}) len(tab) # 3 from astropy.io import fits import numpy as np fits.PrimaryHDU(data=np.zeros((4, 4))).writeto('/path/out.fits') from astropy.wcs import WCS w = WCS(naxis=2) # native bundled wcslib 8.6 ANDROID NOTES ------------- - Native extensions (18 .so) link the app-lock librimi.so and the stock Android libc; no system expat/wcslib/cfitsio is used -- the upstream bundled cextern sources (wcslib 8.6, cfitsio subset, expat) are compiled in, so the FULL default feature set works out of the box. - Optional upstream extras (scipy, matplotlib, pandas, h5py, ...) are NOT required. Features that import them raise ImportError only when used. - No network is needed for the tested features. Downloads (IERS tables, remote data) follow normal astropy behaviour when online. - Console scripts (fitsinfo, fitsheader, showtable, ...) are declared in dist-info/entry_points.txt like upstream. TESTED FEATURES (Test_Astropy.py, 11 checks) -------------------------------------------- import + version, WCS object, _iterparser import, convolution, sigma_clip, FITS in-memory roundtrip, Time object + unix + scale, units (m/km, deg/rad, solMass, mile), SkyCoord separation + galactic, Table basics, votable/ascii native imports. Test logic verified 11/11 against upstream astropy 8.0.1 on the build host; run Test_Astropy.py from the app Scripts folder on-device (exit 0 means ALL PASS). DEPENDENCIES (declared in METADATA, upstream-faithful) ------------------------------------------------------- astropy-iers-data>=0.2026.6.22.1.23.34, numpy>=2.0, packaging>=25.0, pyerfa>=2.0.1.3, PyYAML>=6.0.0 (plus upstream optional extras markers for recommended/ipython/ jupyter/all/test/docs, kept verbatim). ================================================================================ Generated by RIMI ================================================================================