-
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 my website:
http://alainplattner.net/downloads/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.
I also prepared a demo file for some of the vector Slepian functions and to give you an idea where to start:
http://alainplattner.net/downloads/vectordemos.m
To set the paths etc within Matlab you can use the initialize m-file:
I also prepared a demo file for some of the vector Slepian functions and to give you an idea where to start:
http://alainplattner.net/downloads/initialize.m
Some of the data files can be found on the website
http://geoweb.princeton.edu/people/simons/software.html
###Installation using the setup.sh file
Place setup.sh into a folder in which you want to install the software
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.