ANU Inversion Course Package
Project description
ANU Inversion Course Package
This package contains resources to be used in the inversion course practicals.
Table of contents
Getting started
1. Set up virtual environment
(optional) It's recommended to use a virtual environment (using conda
or venv
, etc.) so that it doesn't conflict with your other Python projects. Create a new environment with
conda create -n inversion_course python=3.10
and enter that environment with
conda activate inversion_course
2. Dependency
This package requires you to have gfortran
installed. Check this page (and notes below for MacOS) for instructions on how to install gfortran
.
Notes for installing `gfortran` on MacOS
Make sure you have xcode
installed (from App Store), and then the command line tools installed by opening terminal and typing in:
xcode-select --install
For M1 chip: if you've set up a conda environment, then another option is to install gfortran
using conda
:
conda install -c conda-forge gfortran
The gfortran
version is updated (gfortran-11
) for M1 chip but not for the Intel one (as per this)
Reasons for why we need `gfortran`
3. Installation
Type the following in your terminal:
pip install anu-inversion-course
4. Check
And when you run jupyter-lab
to do the practicals, make sure you are in the same environment as where your anu-inversion-course
was installed. You can try to test this by checking if the following commands give you similar result:
$ which pip
<some-path>/bin/pip
$ which jupyter-lab
<same-path>/bin/jupyter-lab
$ pip list | grep ANU-inversion-course
ANU-inversion-course 0.1.0
Troubleshooting
If you find problems importing anu_inversion_course.rf
, try to search the error message you get. Here contains a nice explanation for the possible cause. And here is how to locate libgfortran
:
gfortran --print-file-name libgfortran.5.dylib
Developer Notes
Check out NOTES.md if you'd like to contribute to this package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for ANU_inversion_course-0.1.0.dev7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c22629827830e38a731b5cc8e020bbba79488b7ebd09cd6a8fd6444caf181dd7 |
|
MD5 | 1f298ef2a66098e8312aa0d2e49531d7 |
|
BLAKE2b-256 | 8296a30befce38bbd1b3704d62a2d817c8259018ea057e9cd7c5838526d493fb |
Hashes for ANU_inversion_course-0.1.0.dev7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d1cea8514bad1034ac264d1118f3459d289ad81c6bd91f04973904e3c87240 |
|
MD5 | 504e1a65691e583d3ae522cf3f3d1ac7 |
|
BLAKE2b-256 | 87fb69bd4aebb5d3717f237d0597bc7c83ee30774caafe88f1b4720636fbb322 |
Hashes for ANU_inversion_course-0.1.0.dev7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd03b69992c57aff5d668f2862cf166fa4013a728e3cd423d107d66f73743c4 |
|
MD5 | 005e6d043fe54d0990d07f4539621e9b |
|
BLAKE2b-256 | a2ea258831e27579fd61bfcee7c1fc27c85ead1029ce301e4199c4acaf3dea8b |
Hashes for ANU_inversion_course-0.1.0.dev7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdba67d58a0ba7e1ef03c8d4bd4765ca27e6849317c734520da30e77053220f5 |
|
MD5 | 82b9b4e42ccab08b49c1853981c3dad1 |
|
BLAKE2b-256 | ca3f3acda31af93a2974391dfcfd34e7721add956a8fbd0f203eccdd17de7c7b |
Hashes for ANU_inversion_course-0.1.0.dev7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a195af48de3462c858143ca937b5e70998d01fad493f9e61e7bff26969f45e9f |
|
MD5 | 561d90a4e1c8c73bfdf006ec5f3e677f |
|
BLAKE2b-256 | 196a23b8cd91f36ef115e5aacacdaa60870c6e189ace1880e3f8b53ca976c33f |
Hashes for ANU_inversion_course-0.1.0.dev7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 604d58b5340902e3718731c45153f5813a011748bcced63fd15b194693649cd4 |
|
MD5 | b9230f6a2117839ee1444495b15dd0f2 |
|
BLAKE2b-256 | 2786e6ec5130eb9742f3fdaa275229b1e21586b0fa1d80b95a998e33871596be |
Hashes for ANU_inversion_course-0.1.0.dev7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6c036e7b0f87272bc735481dd793c8b4ef1a8dd22d637071cb3ffad286b94fe |
|
MD5 | f1ab37a2627bef0b917048bcce62619c |
|
BLAKE2b-256 | ff1e7fd48eaf2be9b7d9fe68d20a43a1dfde0d8a77b7586420a3fa065a8ee3a0 |