SimSpin - A package for the kinematic analysis of galaxy simulations
Author kateharborne
2 Stars
Updated Last
1 Year Ago
Started In
January 2020


Build Status codecov

This is repository for the pure Julia implementation of Katherine Harborne's astronomy package, SimSpin.

The GitHub repo for Kate's original R implementation can be found here.


If you are new to Julia please see the Julia Getting Started page for instructions on how to install Julia.

Once Julia is running successfully this package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add SimSpin

Once the package has been added leave the REPL's Pkg mode by pressing backspace and run:

> using SimSpin

After pre-compilation all user exported functions should be available in your Julia REPL.


A package for the kinematic analysis of galaxy simulations

The purpose of the SimSpin package is to take a galaxy simulation and measure the kinematics of that model as if it had been observed using an IFU. A kinematic data cube can be produced using the functions in this package from which "observables" can be measured. This package is fully documented, published with the Astronomical Society of Australia and registered on the Julia Registry.

By varying the effects of observational seeing, the measurement radius, projected inclination, projected distance and other telescope parameters we can begin to understand some of the inherent effects and limitations of real-world galaxy observations.


  • Documentation for the most recent release.
  • Development documentation.


If you use this code in any of your own published research, please make sure to include the following citation in your bibliography:

K.E. Harborne, C.Power and A.S.G. Robotham, (2020), "SIMSPIN - Constructing mock IFS kinematic data cubes", Publications of the Astronomical Society of Australia, Volume 37, article id. e016

K.E. Harborne, (2019), "SimSpin: Kinematic analysis of galaxy simulations", Astrophysics Source Code Library, record ascl:1903.006