Spherical data handling and analysis with R package rcosmo
Pith reviewed 2026-05-24 20:12 UTC · model grok-4.3
The pith
The rcosmo R package converts and analyzes non-CMB spherical data by transforming it into HEALPix format.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
rcosmo was developed for handling and analysing HEALPix and CMB radiation data with more than 100 functions. It can be used for other spherical data by transforming them into rcosmo formats, with demonstrations for geographic, point pattern and star-shaped data.
What carries the argument
Transformations of non-CMB spherical data into HEALPix format within the rcosmo package
If this is right
- Geographic data can be fed into rcosmo functions after conversion for standard spherical statistics.
- Point pattern data on the sphere becomes amenable to the package's existing point-process tools.
- Star-shaped data sets can undergo the same modeling steps once placed in HEALPix form.
Where Pith is reading between the lines
- The same conversion route might apply to additional spherical data types such as directional measurements or spherical images.
- Integration with existing GIS software could become simpler if rcosmo conversion routines are exposed as standalone functions.
Load-bearing premise
Converting non-CMB data to HEALPix format preserves the statistical properties needed for valid analysis without significant loss or distortion.
What would settle it
A direct comparison showing that standard statistical measures such as means, variances or spatial correlations change materially after conversion to HEALPix would falsify the claim that the transformations support valid analysis.
Figures
read the original abstract
The R package rcosmo was developed for handling and analysing Hierarchical Equal Area isoLatitude Pixelation(HEALPix) and Cosmic Microwave Background(CMB) radiation data. It has more than 100 functions. rcosmo was initially developed for CMB, but also can be used for other spherical data. This paper discusses transformations into rcosmo formats and handling of three types of non-CMB data: continuous geographic, point pattern and star-shaped. For each type of data we provide a brief description of the corresponding statistical model, data example and ready-to-use R code. Some statistical functionality of rcosmo is demonstrated for the example data converted into the HEALPix format. The paper can serve as the first practical guideline to transforming data into the HEALPix format and statistical analysis with rcosmo for geo-statisticians, GIS and R users and researches dealing with spherical data in non-HEALPix formats.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript describes the R package rcosmo (originally developed for HEALPix and CMB data) and its extension to three classes of non-CMB spherical data: continuous geographic, point-pattern, and star-shaped. For each class it supplies a brief statistical-model description, an example dataset, ready-to-use R code that converts the data into HEALPix format, and demonstrations of selected rcosmo statistical functions on the converted data. The paper positions itself as a practical guideline for geo-statisticians, GIS users, and researchers working with spherical data in non-HEALPix formats.
Significance. If the supplied conversion routines and function calls operate as documented, the work supplies a concrete, immediately usable pipeline that lowers the barrier for applying HEALPix-based tools to other spherical data types. The provision of ready-to-run code and example datasets is a concrete strength for reproducibility and adoption.
minor comments (3)
- [Abstract] The abstract states that rcosmo “has more than 100 functions” yet never indicates which subset is exercised or recommended for the three non-CMB data types; a short table or explicit list in §2 or §3 would clarify scope.
- [Sections 3–5] The descriptions of the statistical models for the three data types are only one paragraph each; adding one or two key equations or references per model would help readers assess whether the subsequent rcosmo analyses are appropriate.
- [Figures 1–3] Figure captions and axis labels in the example plots are not described in the text; readers cannot tell which rcosmo function produced each panel without inspecting the accompanying code blocks.
Simulated Author's Rebuttal
We thank the referee for the careful reading and positive assessment of the manuscript, including the accurate summary of its scope and the recommendation for minor revision. No specific major comments were listed in the report.
Circularity Check
No significant circularity identified
full rationale
The paper is a descriptive software guide for the rcosmo R package. It covers data transformations into HEALPix format, brief statistical model descriptions, example datasets, and ready-to-use R code for continuous geographic, point pattern, and star-shaped data. No mathematical derivations, predictions, fitted parameters, or uniqueness theorems are advanced. No self-citations serve as load-bearing premises for any central claim. The content consists of practical pipelines and demonstrations without any reduction of results to inputs by construction.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Methodology and Applications with R
Baddeley, A., Rubak, E., Turner, R.: Spatial Point Patterns. Methodology and Applications with R. Chapman and Hall/CRC, New York (2015)
work page 2015
-
[2]
NeuroImage 53, 491–505 (2010) https://doi.org/10.1016/j.neuroimage.2010.06.032
Chung, M.K., Worsley, K.J., Nacewicz, B.M., Dalton, K.M., Davidson, R.J.: Gen- eral multivariate linear modeling of surface shapes using SurfStat. NeuroImage 53, 491–505 (2010) https://doi.org/10.1016/j.neuroimage.2010.06.032
-
[3]
Cressie, N., Johannesson, G.: Fixed rank kriging for very large spatial data sets. Journal of the Royal Statistical Society: Series B (Statistical Methodology) 70(1), 209–226 (2008) http://dx.doi.org/10.1111/j.1467-9868.2007.00633.x
-
[4]
Chapman and Hall/CRC, New York (2013)
Diggle, P.J.: Statistical Analysis of Spatial and Spatio-Temporal Point Patterns. Chapman and Hall/CRC, New York (2013)
work page 2013
-
[5]
Fryer, D., Olenko, A., Li, M., Wang, Yu.: rcosmo: Cosmic Microwave Background Data Analysis. R package version 1.1.0. https://CRAN.R-project.org/package= rcosmo (2019)
work page 2019
-
[6]
rcosmo: R Package for Analysis of Spherical, HEALPix and Cosmological Data
Fryer, D., Olenko, A., Li, M.: rcosmo: R Package for Analysis of Spherical, HEALPix and Cosmological Data. submitted https://arxiv.org/abs/1907.05648 (2019) Spherical data handling and analysis with R package rcosmo 15
work page internal anchor Pith review Pith/arXiv arXiv 1907
-
[7]
Gorski, K.M., Hivon, E., Banday, A.J., Wandelt, B.D., Hansen, F.K., Reinecke, M., Bartelmann, M.: HEALPix: a framework for high-resolution discretization and fast analysis of data distributed on the sphere. The Astrophysical Journal, 622(2), 759–771 (2005) https://doi.org/10.1086/427976
work page internal anchor Pith review doi:10.1086/427976 2005
-
[8]
Data Analysis, Simulations and Visualization on the Sphere
HEALPix. Data Analysis, Simulations and Visualization on the Sphere. https: //healpix.sourceforge.io/. Last accessed 30 May 2019
work page 2019
-
[9]
https://healpy.readthedocs.io/
Healpy documentation homepage. https://healpy.readthedocs.io/. Last accessed 30 May 2019
work page 2019
-
[10]
http://sufoo.c.ooco.jp/program/healpix.html
HEALPix Library for MATLAB. http://sufoo.c.ooco.jp/program/healpix.html. Last accessed 30 May 2019
work page 2019
-
[11]
https://www.ncdc.noaa.gov/ data-access/weather-balloon/integrated-global-radiosonde-archive
Integrated Global Radiosonde Archive homepage. https://www.ncdc.noaa.gov/ data-access/weather-balloon/integrated-global-radiosonde-archive. Last accessed 30 May 2019
work page 2019
-
[12]
Ivanov, A. V., Leonenko, N. N.: Statistical Analysis of Random Fields. Kluwer Academic Publishers, Dordrecht (1989)
work page 1989
-
[13]
CRC Press, Boca Raton, FL (2017)
Ley, C., Verdebout, T.: Modern Directional Statistics. CRC Press, Boca Raton, FL (2017)
work page 2017
-
[14]
Representation, Limit Theorems and Cosmological Applications
Marinucci, D., Peccati, G.: Random Fields on the Sphere. Representation, Limit Theorems and Cosmological Applications. Cambridge University Press, Cambridge (2011)
work page 2011
-
[15]
Srivastava, A., Klassen, E.P.: Functional and Shape Data Analysis. Springer, New York (2016)
work page 2016
-
[16]
I.: Spectral Theory of Random Fields
Yadrenko, M. I.: Spectral Theory of Random Fields. Optimization Software Inc., New York (1983)
work page 1983
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.