Skip to content

jessecusack/SP_taylor_goldstein

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation instructions

  1. Install miniconda3 (https://docs.conda.io/en/latest/miniconda.html) to manage python.
  2. Download this git repository.
  3. Contact me for the raw data, which should be placed in the raw_data directory within the repository.
  4. Create and install the conda environment as follows:

First run the following within the base directory of this repository,

conda env create -f environment.yml

which creates a new conda environment called sp-tg.

Then install the kernel for the environment so that it can be used with jupyter lab or jupyter notebooks.

conda activate sp-tg
python -m ipykernel install --user --name sp-tg --display-name sp-tg

With the kernel activated and the data downloaded, you can then run the reprocessing scripts contained the reprocessing directory, e.g.

cd reprocessing
python reprocess_MP_data.py
python reprocess_TOWYO_data.py

which will create a lot of files in the proc_data directory.

After following the above instructions, the analysis code (contained in analysis) should then run successfully. Just don't forget to either activate the conda environment first (conda activate sp-tg) or set up notebooks/lab that uses that environment.

About

A Taylor-Goldstein analysis of Samoan Passage data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published