Skip to content

MichaelHoltonPrice/wolpert_et_al_stoch_proc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains code to generate a number of the figures for the following article:

Wolpert et al. -- The past as a stochastic process

This README is for Windows Powershell, but will work with minor modifications for other platforms or approaches.

Setup

Clone this repository and change directory into the new folder:

git clone https://github.com/MichaelHoltonPrice/wolpert_et_al_stoch_proc
cd wolpert_et_al_stoch_proc

Create and activate a virtual environment called stoch:

python -m venv stoch
Set-ExecutionPolicy Unrestricted -Scope Process
.\stoch\Scripts\activate

Install requirements:

pip install -r requirements.txt

In addition, the Python package bighist must be installed; its github repository is here:

https://github.com/MichaelHoltonPrice/bighist

Change directory one level up, clone the bighist repository, change directory into bighist, install the requirements for bighist, and install bighist:

cd ..
git clone https://github.com/MichaelHoltonPrice/bighist
cd bighist
pip install -r requirements.txt
python setup.py install

Change directory back to wolpert_et_al_stoch_proc, then proceed to the next section to run the analysis code.

cd ..
cd wolpert_et_al_stoch_proc

Running the code

The working directory must be wolpert_et_al_stoch_proc. This will be the case if the steps in the preceding section have been followed. If necessary, activate the virtual environment

Set-ExecutionPolicy Unrestricted -Scope Process
.\stoch\Scripts\activate

Run the analysis script:

python .\make_plots.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages