#observation #python #modeling #effect #velocity #extension #starspot

bin+lib lather

A Rust crate and Python extension for modeling starspot effects on radial velocity and photometric observations, inspired by complaints about the SOAP project of similar goals

1 unstable release

Uses old Rust 2015

0.0.0 Aug 25, 2017

#14 in #observation

MIT/Apache and GPL-3.0+

82KB
2.5K SLoC

Installation Instructions

Currently, the only option is to build from source, which means you will need a Rust compiler. Head to rustup.rs and follow the instructions. By default, everything will be installed to your home directory. To install to some other directory, set the CARGO_HOME and RUSTUP_HOME environment variables to the desired installation path before running rustup. Rather will build with the default rustup settings. Rather also requires a version of the C library gsl1, and the Python package setuptools_rust which is readily availble through pip.

With the initial dependencies installed, run python setup.py install inside the source directory.

1Problems with C/C++ dependencies are the reason this is now written in Rust. I am working to remove this one because rust-gsl is not ABI-compatible with newer versions of the C library.


lib.rs:

The lather crate models starspot effects on photometric and radial velocity observations, with a Python interface.

This project was inspired by a desire to improve upon the starspot modeling library named SOAP.

Dependencies

~11MB
~216K SLoC