SimSpin-package: SimSpin - A package for the kinematic analysis of galaxy...

SimSpin-packageR Documentation

SimSpin - A package for the kinematic analysis of galaxy simulations

Description

The purpose of this package is to provide a set of tools to "observe" simulations of galaxies as if you were an observer using an integral field unit (IFU). The galaxy model can be observed at a chosen inclination and an IFU observation can be produced in a selection of different spatial shapes (square, circular, and hexagonal) to account for the variety of CCD arrangements used by current telescopes. This data cube can be used to calculate the value an observer would measure for the spin parameter compared to the value that is measured directly from the simulation.

Details

Package: SimSpin
Type: Package
Version: 2.0.0
Date: 2020-12-14
License: LGPL-3
Depends: R (>= 3.0), Rcpp
Suggests: testthat

Author(s)

Katherine Harborne Maintainer: <katherine.harborne@icrar.org>

Examples

## Not run: 
ss_eagle = system.file("extdata", "SimSpin_example_EAGLE.hdf5", package = "SimSpin")
temp_loc = tempdir()
make_simspin_file(ss_eagle, output = paste(temp_loc, "spectra.Rdata", sep=""))
cube = build_datacube(simspin_file = paste(temp_loc, "spectra.Rdata", sep=""),
                      telescope = telescope(type="SAMI"),
                      observing_strategy = observing_strategy())
unlink(paste(temp_loc, "spectra.Rdata", sep=""))

## End(Not run)

kateharborne/SimSpin documentation built on March 27, 2024, 7:10 a.m.