Skip to content

josephrhsmith/plasmapy-summer-school

 
 

Repository files navigation

PlasmaPy Summer School 2024

Documentation Status

Contents

Example notebooks

Here are links to use the notebooks.

Tips

Running tests

Run tests locally with:

nox -s tests

Building documentation

Build documentation locally at:

nox -s docs

git and GitHub

Simplified cartoon of the git and GitHub scheme.

Cartoon of git and GitHub

Contributing to the Formulary

At this point we assume you have already forked this repository and set up your local git repository.

  1. Start by determining which formulary function you would like to add to the repo. You can select from existing formulary functions contained in the plasmapy.formulary or choose one of your own.
  2. Back at your local git clone (on your personal computer) update the main branch. This is the local branch that has its upstream set the main branch of the plasmapy-summer-school repository. This will ensure you are starting from the most up-to-date version of the repository.
  3. Create a working branch from your updated main branch. Name this working branch something explicitly descibing what you are adding. For example, name the working branch add_gyroradius for contributing a formulary function for the gyroradius.
  4. Push an instance of your working branch to your GitHub fork of plasmapy-summer-school.
  5. Now, add the code associated with your formulary function to the appropriate .py file located in the ./src/hack/formulary directory.
    • As you develop your code try to make frequent, well focused commits. This is not a strict rule, but will help with debugging errors if, and when, they occur.
  6. Push you commits to GitHub at a regular intervals.
  7. When ready, open a Pull Request (PR) from your working branch on your fork to the main branch on the original repository. For detailed instructions follow GitHub's instructions of Creating a pull request from a fork.

About

A repository for PlasmaPy's summer school in 2024.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.4%
  • Python 1.6%