rcosmo

Handle and Analyse Spherical, HEALPix and Cosmic Microwave Background data on a HEALPix grid.

https://github.com/frycast/rcosmo

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 12 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

astronomy cmb healpix r statistics visualisation
Last synced: 6 months ago · JSON representation

Repository

Handle and Analyse Spherical, HEALPix and Cosmic Microwave Background data on a HEALPix grid.

Basic Info
Statistics
  • Stars: 17
  • Watchers: 5
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Topics
astronomy cmb healpix r statistics visualisation
Created almost 9 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

rcosmo: Handle and Analyse Spherical, HEALPix and Cosmic Microwave Background data on a HEALPix grid.

CRAN Versions CRAN release dates CRAN downloads CRAN downloads Lifecycle Status <!-- Badges End -->

Use this R package as an advanced toolkit for performing Cosmic Microwave Background (CMB) data analytics. The CMB is remnant electromagnetic radiation from the epoch of recombination. As an ancient source of data on the early universe, the CMB is helping us unlock the mysteries of the Big Bang and the structure of time and space. With increasingly high resolution satellite data, intensive investigations in the past few years have resulted in many physical and mathematical results to characterize CMB radiation.

Publication

Daniel Fryer, Ming Li and Andriy Olenko, rcosmo: R Package for Analysis of Spherical, HEALPix and Cosmological Data, The R Journal (2020) 12:1, pages 206-225.

Features

rcosmo addresses various data processing and statistical analysis needs for the present generation of CMB experiments. These needs fall into the following broad categories: + Importing and transforming HEALPix data in convenient CMBDataFrame class objects, + Geometric tools suited to spherical geometry, + Statistical tools suited to spherical random fields, + Interactive visualisation.

The current version of rcosmo includes the following functionality: + Tidy organisation of CMB data, including HEALPix indices, metadata, CMB intensities and their corresponding spherical and/or cartesian coordinates, as well as polarization data, + window subsetting tools for investigating circular, convex and non-convex polygonal sub-regions on the sphere, + fast empirical covariance and variogram estimation, + implementation and analysis of spherical harmonics, spherical wavelets, etc, + various methods for CMB map visualization, such as interactive 3D full sky maps rendered with OpenGL, polygon boundary visualisation, and HEALPix pixel boundary plotting, + spherical geometry tools, such as calculation of spherical angles, shortest distance between a point and a region, and shortest distance between two points, etc.

Installation

From CRAN:

```r

Uncomment to install

install.packages('rcosmo')

```

Usage

r library(rcosmo)

View the CMBDataFrame help file:

r ?CMBDataFrame

Download a CMB map from NASA archives (which may take some time to download). Then, take an approximately uniform random sample and create an interactive 3D plot:

r downloadCMBMap() sky <- CMBDataFrame("CMB_map_smica1024.fits", sample.size = 1e6) plot(sky)

Produce a summary of the map:

r summary(sky)

Extract a region of the sky:

r win <- CMBWindow(theta = c(pi/2,pi/2,pi/3, pi/3), phi = c(0,pi/3,pi/3,0)) sky_win <- window(sky, new.window = win) plot(sky_win); plot(win)

Summarise the region of the sky:

r summary(sky_win) More documentation on the way, for now view examples in the help files. There are many functions, see:

r lsf.str("package:rcosmo")

Owner

  • Name: Daniel Vidali Fryer
  • Login: frycast
  • Kind: user
  • Location: Melbourne
  • Company: The University of Queensland and La Trobe University

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 541
  • Total Committers: 12
  • Avg Commits per committer: 45.083
  • Development Distribution Score (DDS): 0.591
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Daniel Vidali Fryer d****r@l****u 221
Daniel Vidali Fryer 2****t 101
Daniel Vidali Fryer V****a 94
olenko o****a@y****m 88
Ming m****i@l****u 16
MING l****e@g****m 9
Daniel Vidali Fryer d****r@g****m 4
Yu Guang Wang y****g@l****u 2
Daniel Vidali Fryer d****r@l****u 2
YuGuangWang y****g@g****m 2
Dirk Eddelbuettel e****d@d****g 1
Daniel Vidali Fryer 2****t 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total docker downloads: 20,392
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
cran.r-project.org: rcosmo

Cosmic Microwave Background Data Analysis

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 0
  • Docker Downloads: 20,392
Rankings
Forks count: 11.3%
Stargazers count: 14.2%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Average: 36.1%
Downloads: 89.7%
Last synced: almost 2 years ago

Dependencies

DESCRIPTION cran
  • R >= 3.4.0 depends
  • FITSio >= 2.1 imports
  • Rcpp >= 0.12.11 imports
  • cli >= 1.0.0 imports
  • entropy >= 1.2.1 imports
  • geoR >= 1.7 imports
  • mmap >= 0.6 imports
  • nnls >= 1.4 imports
  • rgl >= 0.99.16 imports
  • tibble >= 1.4.2 imports
  • R.rsp * suggests
  • gsl * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests