-
Notifications
You must be signed in to change notification settings - Fork 1
Home
###Welcome to the slepian_golf wiki!
To get a full installation of the vector Slepian software including all prerequisites from slepian_alpha, etc, I prepared a setup script that you can obtain from the VectorSlepian repository:
https://raw.githubusercontent.com/AlainPlattner/VectorSlepian/master/setup.sh
The setup script requires wget and git to be installed. Alternatively you can download and organize the files yourself following the description in the setup.sh file.
The simplest way to install everything is to clone the VectorSlepian repository and then run the setup.sh script.
The VectorSlepian repository also contains a demo file for some of the vector Slepian functions and will give you an idea where to start:
To set the paths etc within Matlab you can use the initialize m-file also available from the VectorSlepian repository
The data files required by some of the functions can be found on the website
http://geoweb.princeton.edu/people/simons/software.html
The setup.sh script will automatically download these data files and store them in a suitable folder structure.
###Installation using the setup.sh file
Clone the repository https://github.com/AlainPlattner/VectorSlepian.git
cd VectorSlepian
Run
./setup.sh
###Initialization and demos
After starting Octave or Matlab, run in Matlab or Octave
initialize
This will be necessary each time you start Matlab/Octave to set the paths.
The m-file "vectordemos.m" contains a few demos. To run it, save it in the same folder as the script "setup.sh" and within Matlab or Octave, run
vectordemos(1)
etc.
For Octave you may need to install some additional packages like the io package, the statistics package, the mapping package etc. Just run in Octave
pkg install -forge io
pkg install -forge statistics
etc.