schwarzschild

A collection of R routines for producing accurate diagrams of black holes

https://github.com/robinhankin/schwarzschild

Science Score: 44.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A collection of R routines for producing accurate diagrams of black holes

Basic Info
  • Host: GitHub
  • Owner: RobinHankin
  • License: gpl-3.0
  • Language: R
  • Default Branch: master
  • Size: 1.42 MB
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 1
  • Open Issues: 5
  • Releases: 2
Created over 8 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License Citation

README.Rmd

---
title: "General relativity in R"
output:
  github_document:
    pandoc_args: --webtex
---



```{r setup, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```


[![CRAN status](https://www.r-pkg.org/badges/version/schwarzschild)](https://cran.r-project.org/package=schwarzschild)
[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)



# Overview


The `schwarzschild` package creates a series of high-quality PDF
images showing different aspects of the physics of black holes.  The
software is available under the GPL and runs under the R programming
language. 

The package is intended as a resource for lecturers of general
relativity and it is envisaged that the diagrams be used as visual
teaching aids for understanding the Schwarzschild metric.  A number of
camera-ready PDF diagrams of black holes using a range of coordinate
systems are presented as examples of the software's functionality; the
software is extensively configurable to users' requirements.


# Installation

The package is not yet on CRAN.  To install the current development
version use `devtools`:

```
R> devtools::install_github("RobinHankin/schwarzschild", build_vignettes=TRUE)
```

And then to load the package use `library()`:

```{r,message=FALSE}
library("schwarzschild")
```

All PDF diagrams are created by `inst/maker.R` and a Makefile is
provided; altnernatively, the resulting PDF images are available at

[https://autuni-my.sharepoint.com/:f:/g/personal/rhankin_aut_ac_nz/EgX_IANsoOJDmTiH2i9_P20B6ksn9CMHf_TM31w5K3aITg?e=dPxAcp](https://autuni-my.sharepoint.com/:f:/g/personal/rhankin_aut_ac_nz/EgX_IANsoOJDmTiH2i9_P20B6ksn9CMHf_TM31w5K3aITg?e=dPxAcp)


# Further information

For more detail, see the package vignette; at the R prompt, type

`
vignette("schwarzschild")
`
 

Owner

  • Name: Robin Hankin
  • Login: RobinHankin
  • Kind: user
  • Location: Auckland
  • Company: AUT

pushing the boundaries of R in non-statistical contexts

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Hankin"
  given-names: "Robin K. S."
  orcid: "https://orcid.org/0000-0001-5982-0415"
title: "The schwarzschild R package"
version: 2.0-1
url: "https://github.com/RobinHankin/schwarzschild"
doi: 10.5281/zenodo.4782758
preferred-citation:
  type: article
  authors:
  - family-names: "Hankin"
    given-names: "Robin K. S."
    orcid: "https://orcid.org/0000-0001-5982-0415"
  doi: "10.21105/jose.00091"
  journal: "Journal of Open Source Education"
  month: December
  start: 1
  end: 5
  title: "General relativity in R: visual representation of Schwarzschild space using different coordinate systems"
  issue: 4
  volume: 39
  year: 2021

GitHub Events

Total
  • Issues event: 6
  • Issue comment event: 2
  • Push event: 5
Last Year
  • Issues event: 6
  • Issue comment event: 2
  • Push event: 5

Dependencies

DESCRIPTION cran
  • R >= 3.0 depends
  • animation * depends
  • deSolve * depends
  • grImport * depends
  • gsl * depends
  • mathjaxr * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests