M-dwarf Rotational Stellar Photocenter Offset Calculator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
astropy_helpers @ 6f31c21
docs
mrspoc
notebooks
.gitattributes
.gitignore
.gitmodules
.rtd-environment.yml
.travis.yml
LICENSE
README.md
ah_bootstrap.py
download_data.py
readthedocs.yml
requirements.txt
setup.cfg
setup.py

README.md

mrspoc

Build Status Documentation Status DOI

M-dwarf Rotational Stellar Photocenter Offset Calculator (mrspoc).

Installation

Clone this repository:

git clone https://github.com/bmorris3/mrspoc.git

Run this command to download a local copy of the required TGAS data, Hipparcos, and interferometric radius tables:

cd mrspoc
python download_data.py

You can delete the data archive data.tar.gz.

Create an environment variable that contains the path to the data/ directory, called MRSPOC_DATA_DIR. For example, add the following line to your ~/.cshrc:

setenv MRSPOC_DATA_DIR '/path/to/mrspoc/data/'

or ~/.bashrc:

MRSPOC_DATA_DIR='/path/to/mrspoc/data/'

Change directories into the repository, and run:

python setup.py install

And you're good to go! You can run the unit tests with:

python setup.py test

Citation

If you make use of this code, please cite Morris et al 2018:

@ARTICLE{Morris2018,
   author = {{Morris}, B.~M. and {Agol}, E. and {Davenport}, J.~R.~A. and 
	{Hawley}, S.~L.},
    title = "{Spotting stellar activity cycles in Gaia astrometry}",
  journal = {\mnras},
archivePrefix = "arXiv",
   eprint = {1802.09943},
 primaryClass = "astro-ph.SR",
 keywords = {astrometry, Sun: activity, stars: activity, stars: individual: GJ 1243, stars: individual: KIC 7174505, stars: individual: AX Mic},
     year = 2018,
    month = jun,
   volume = 476,
    pages = {5408-5416},
      doi = {10.1093/mnras/sty568},
   adsurl = {http://adsabs.harvard.edu/abs/2018MNRAS.476.5408M},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}