Package: astronomR 0.4.0

astronomR: Cosmic Insights: Statistical Frameworks for Astronomers

A comprehensive toolkit for astronomical and cosmological computations. Provides functions for angular coordinate conversions (degrees, hours-minutes-seconds, degrees-minutes-seconds, and radians), Julian Days and the conversion of equatorial (right ascension, declination) to horizontal (altitude, azimuth) coordinates, access to fundamental physical constants ('CODATA' 2018), queries to the Gaia Catalogue of Nearby Stars through the Gaia Archive TAP (Table Access Protocol) service, a 'Lambda-CDM' cosmology model with comoving, luminosity and angular-diameter distances, cosmic time and the age of the universe, early-universe thermal physics including photon density, 'Saha' equation solutions, and a full thermal-cosmology module covering the Hubble rate in the radiation-dominated era, effective relativistic degrees of freedom, entropy density, equilibrium yields, the Boltzmann relic-abundance ('pebble') equation for WIMP freeze-out, the freeze-out temperature solver, and the Peebles equation for hydrogen recombination. Also includes the Drake equation for estimating the number of communicating extraterrestrial civilisations in the Milky Way.

Authors:Samrit Pramanik [aut, cre], Kazi Abu Rousan [aut]

astronomR_0.4.0.tar.gz
astronomR_0.4.0.zip(r-4.7-any)astronomR_0.4.0.zip(r-4.6-any)astronomR_0.4.0.zip(r-4.5-any)
astronomR_0.4.0.tgz(r-4.6-any)astronomR_0.4.0.tgz(r-4.5-any)
astronomR_0.4.0.tar.gz(r-4.7-any)astronomR_0.4.0.tar.gz(r-4.6-any)
astronomR_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
astronomR/json (API)

# Install 'astronomR' in R:
install.packages('astronomR', repos = c('https://samrit2442.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/samrit2442/astronomr/issues

On CRAN:

Conda:

astronomycosmologystatistical-analysis

5.23 score 14 stars 11 scripts 251 downloads 41 exports 20 dependencies

Last updated from:b3380e9acc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK127
source / vignettesOK243
linux-releaseOK165
macos-releaseOK95
macos-oldrelOK104
windows-develOK82
windows-releaseOK81
windows-oldrelOK92
wasm-releaseOK85

Exports:age_of_universeangular_diameter_distanceboltzmann_pebble_rhscomoving_distanceconstant_valueconstants_dfcosmic_timecosmology_modeldeg_to_dmsdeg_to_hmsdeg_to_raddms_to_degdrake_equationentropy_densityequilibrium_number_densityequilibrium_yieldfreeze_out_xfg_star_effget_gaia_datahms_to_deghubble_distancehubble_radiationhubble_ratiojulian_daykm_to_Mpcluminosity_distanceMpc_to_kmpeebles_rhsphoton_energy_density_fn_Tphoton_energy_density_fn_zphoton_number_density_fn_Tphoton_number_density_fn_zrad_to_degradec_to_altazradius_of_curvatureredshift_to_scale_factorSaha_Xescale_factor_to_redshiftsoln_sahasolve_relic_abundancetransverse_comoving_distance

Dependencies:askpassclicurlgluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigR6rlangstringistringrsystibbleutf8vctrs

Readme and manuals

Help Manual

Help pageTopics
astronomR: Cosmic Insights: Statistical Frameworks for AstronomersastronomR-package astronomR
Boltzmann Relic-Abundance (Pebble) Equation dY/dxboltzmann_pebble_rhs
Retrieve the Value of a Physical Constantconstant_value
Fundamental Physical Constants in SI and Natural Unitsconstants_df
Cosmic Time and Age of the Universeage_of_universe cosmic_time
Cosmological Distancesangular_diameter_distance comoving_distance cosmological_distances hubble_distance luminosity_distance radius_of_curvature transverse_comoving_distance
Define a Cosmological Modelcosmology_model print.astronomR_cosmology
Convert Decimal Degrees to Degrees, Minutes, and Seconds (DMS) Formatdeg_to_dms
Convert Decimal Degrees to Hours, Minutes, and Seconds (HMS) Formatdeg_to_hms
Convert Degrees to Radiansdeg_to_rad
Convert Degrees, Minutes, and Seconds (DMS) to Decimal Degreesdms_to_deg
Estimate the Number of Communicating Civilizations via the Drake Equationdrake_equation
Entropy Density of the Thermal Bathentropy_density
Equilibrium Number Density of a Massive Particle Speciesequilibrium_number_density
Equilibrium Yield Y_eq as a Function of x = m/Tequilibrium_yield
Approximate Freeze-Out Parameter x_f = m / T_ffreeze_out_xf
Effective Relativistic Degrees of Freedom g_*(T)g_star_eff
Query Gaia Archive Dataget_gaia_data
Convert Hours, Minutes, and Seconds (HMS) to Decimal Degreeshms_to_deg
Hubble Rate in the Radiation-Dominated Erahubble_radiation
Dimensionless Hubble Parameter E(z)hubble_ratio
Julian Day of a Date-Timejulian_day
Convert Kilometers to Megaparsecskm_to_Mpc
Convert Megaparsecs to KilometersMpc_to_km
Peebles Equation for Hydrogen Recombinationpeebles_rhs
Photon Energy Density as a Function of Temperaturephoton_energy_density_fn_T
Photon Energy Density as a Function of Redshiftphoton_energy_density_fn_z
Photon Number Density as a Function of Temperaturephoton_number_density_fn_T
Photon Number Density as a Function of Redshiftphoton_number_density_fn_z
Convert Radians to Degreesrad_to_deg
Convert Right Ascension and Declination to Altitude and Azimuthradec_to_altaz
Convert Between Redshift and Scale Factorredshift_to_scale_factor scale_factor_to_redshift
Hydrogen Ionization Fraction from the Saha EquationSaha_Xe soln_saha
Solve the Boltzmann Relic-Abundance (Pebble) Equationsolve_relic_abundance