Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge GUI tutorial #2088

Merged
merged 2 commits into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions doc/contrib/coding-style.rst → doc/contrib/code.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
.. _contribcodingstyle:
.. _contribcode:

Coding Guidelines
=================
Code
====

Some general tips to keep in mind:

- If you add functionality, please update the documentation
accordingly.
- If you add functionality, add tests if applicable. This helps make
sure Arbor is stable and functionality does what it's supposed to
do.
- If you work on the public C++ API, provide Python wrappings.
- Make sure Arbor compiles and has no new warnings.
- Consider the coding guidelines below.

Python
------
Expand Down
6 changes: 3 additions & 3 deletions doc/contrib/doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Documentation
=============

The source for `the documentation <https://docs.arbor-sim.org>`__ is
found in the ``/doc`` subdirectory. You can add your contribution to the documentation
in the same way you would contribute code, please see the :ref:`contribpr` section.
The source for `the documentation <https://docs.arbor-sim.org>`__ is found in the ``/doc`` subdirectory.
We use `Sphinx <https://www.sphinx-doc.org>`_ to build our docs.
You can add your contribution to the documentation in the same way you would contribute code, please see the :ref:`contribpr` section.

.. _contribdoc-tut:

Expand Down
151 changes: 29 additions & 122 deletions doc/contrib/index.rst
Original file line number Diff line number Diff line change
@@ -1,127 +1,48 @@
.. _contribindex:

Contributing to Arbor
=====================
Contributing
============

First off, thank you for considering contributing to Arbor! Its people
First off, thank you for considering contributing to Arbor! It's people
like you that make Arbor such a great tool. Feel welcome and read the
following sections in order to know how to ask questions and how to work
on something.

.. _contribindex-types:

Types of contributions
----------------------

There are many ways to contribute: sharing models, writing tutorials or blog posts,
improving the documentation, helping other users, submitting bug reports
and feature requests or writing code which can be incorporated into
Arbor itself.

Use the `Arbor Discussions <https://github.com/arbor-sim/arbor/discussions>`__
page for support questions.

.. _contribindex-github:

Github
------

Arbor uses Git for version control and Github to host its code
repository and nearly all of its infrastructure.

- If you’re not familiar with Git or Github, please have at look at
`this introduction <https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/set-up-git>`__.
- Make sure you have a `GitHub
account <https://github.com/signup/free>`__.

.. _contribindex-model:

Model
~~~~~

Sharing research and findings that used Arbor is the best contribution you can make to the project.

- We encourage the use of our Github Discussions board for public discussions on modelling: `Github Discussions <https://github.com/arbor-sim/arbor/discussions>`_.

- Users can share their models by adding them to the model collection on GitHub at `arbor-contrib <https://github.com/arbor-contrib/>`_.

.. _contribindex-discuss:

Start a discussion
~~~~~~~~~~~~~~~~~~

You can use the `Arbor
Discussions <https://github.com/arbor-sim/arbor/discussions>`__ to help
other users of Arbor, or get help with you own simulations. Also, we’re
eager to discover what you’re using Arbor for, so don’t hesitate to
share your Arbor simulations or publications!

.. _contribindex-fileissue:

Filing an issue
~~~~~~~~~~~~~~~

If you have found a bug or problem in Arbor, or want to request a feature, you
can use our `issue tracker <https://github.com/arbor-sim/arbor/issues>`__. If
you issue is not yet filed in the issue tracker, please do so and describe the
problem, bug or feature as best you can. You can add supporting data, code or
documents to help make your point. For bugs in particular, stacktraces (either
from inside a debugger or by enabling ``ARB_BACKTRACE``) are extremely useful.

.. _contribindex-solveissue:

Help solving an Issue
~~~~~~~~~~~~~~~~~~~~~

If you want to help solve an issue, that’s great! Issue labels can help
you find an something that fits your expertise or interest, and if
you’re just getting started, you can look for the “`good 1st
issue <https://github.com/arbor-sim/arbor/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+1st+issue%22>`__”
label. Don’t hesitate to post a comment to the Issue if you want to ask
clarifying questions. If you have implemented a fix, you can make a pull
request.

Write code
~~~~~~~~~~
Arbor uses Git for version control and Github to host its code repository and nearly
brenthuisman marked this conversation as resolved.
Show resolved Hide resolved
all of its infrastructure. If you're not familiar with Git or Github, please have at look at
brenthuisman marked this conversation as resolved.
Show resolved Hide resolved
`this introduction <https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/set-up-git>`_.
Make sure you have a `GitHub account <https://github.com/signup/free>`_.

Some tips when contributing code:
You can reach out in the following ways for support or sharing of your work, questions:

- Consider the :ref:`contribcodingstyle`.
- If you add functionality, please update the documentation
accordingly.
- If you add functionality, add tests if applicable. This helps make
sure Arbor is stable and functionality does what it’s supposed to
do.
- If you work on the public C++ API, provide Python wrappings.
- Make sure Arbor compiles and has no new warnings.

Add examples or unit tests
~~~~~~~~~~~~~~~~~~~~~~~~~~

See :ref:`contribexample` and :ref:`contribtest`.

Modify documentation
~~~~~~~~~~~~~~~~~~~~

See :ref:`contribdoc`.

Making a pull request
~~~~~~~~~~~~~~~~~~~~~

See :ref:`contribpr`.

.. _contribindex-other:
- `Discussions <https://github.com/arbor-sim/arbor/discussions>`__. Any
questions or remarks regarding using Arbor for your research are
welcome.
- `Gitter <https://gitter.im/arbor-sim/community>`__. If you're interested in
developing Arbor itself, get in touch on Gitter.
- `Email <mailto:[email protected]>`__.

Other contributions
-------------------
Howtos
------

We try to collect models scientists have built in our `contributor space <https://github.com/arbor-contrib/>`_.
In addition to the tutorials, browsing these models should give you a good idea of what's possible with Arbor
and find get in contact with other Arbor users.
.. toctree::
:titlesonly:
:maxdepth: 1

We're always happy to hear about Arbor being used! Have you used Arbor to create a model?
Have you used Arbor in a publication? Do you have a workflow or tool that involves Arbor?
Get in touch and we'd be very happy to showcase your work through our channels.
File an Issue <issue>
Make a Pull Request <pr>
Share a model <model>
Write code <code>
Modify documentation <doc>
Add examples <example>
Add test <test>
Make a release <release>
dependency-management

.. _contribindex-coc:

Expand All @@ -132,7 +53,7 @@ We have a brief code of conduct which we ask you to respect:

* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or any other characteristic.
* Please avoid using overtly provoking aliases or nicknames that might detract from a friendly, safe and welcoming environment for all.
* Please be kind and courteous. Theres no need to be mean or rude.
* Please be kind and courteous. There's no need to be mean or rude.
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs.
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.

Expand All @@ -156,17 +77,3 @@ Arbor is an Ebrains/HBP project. Its policies and recourse options in case of co
* `ALLEA Code of Conduct <https://allea.org/code-of-conduct>`_
* `Ebrains Point of registration for ethical concerns <https://www.humanbrainproject.eu/en/social-ethical-reflective/about/register-ethical-concern/>`_
* `Ebrains Ombudsperson <mailto:[email protected]>`_

.. _contribindex-contact:

Get in touch
------------

You can reach out in the following ways:

- `Discussions <https://github.com/arbor-sim/arbor/discussions>`__. Any
questions or remarks regarding using Arbor for your research are
welcome.
- `Gitter <https://gitter.im/arbor-sim/community>`__. If you’re interested in
developing Arbor itself, get in touch on Gitter.
- `Email <mailto:[email protected]>`__.
11 changes: 11 additions & 0 deletions doc/contrib/issue.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. _contribissue:

File an Issue
=============

If you have found a bug or problem in Arbor, or want to request a feature, you
can use our `issue tracker <https://github.com/arbor-sim/arbor/issues>`__. If
you issue is not yet filed in the issue tracker, please do so and describe the
problem, bug or feature as best you can. You can add supporting data, code or
documents to help make your point. For bugs in particular, stacktraces (either
from inside a debugger or by enabling ``ARB_BACKTRACE``) are extremely useful.
15 changes: 15 additions & 0 deletions doc/contrib/model.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. _contribmodel:

Modelling
=========

Sharing research and findings that used Arbor is the best contribution you can make to the project.
We encourage the use of our Github Discussions board and Gitter for public discussions on modelling.

We try to collect models scientists have built in our `contributor space <https://github.com/arbor-sim/contrib>`_.
In addition to the tutorials, browsing these models should give you a good idea of what's possible with Arbor
and find get in contact with other Arbor users.

We're always happy to hear about Arbor being used! Have you used Arbor to create a model?
Have you used Arbor in a publication? Do you have a workflow or tool that involves Arbor?
Get in touch and we'd be very happy to showcase your work through our channels.
13 changes: 1 addition & 12 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ A full list of our software attributions can be found `here <https://github.com/
install/index
tutorial/index
ecosystem/index
contrib/index

.. toctree::
:caption: Concepts:
Expand Down Expand Up @@ -167,18 +168,6 @@ A full list of our software attributions can be found `here <https://github.com/
cpp/index
dev/index

.. toctree::
:caption: Contributing:
:maxdepth: 1

contrib/index
contrib/pr
contrib/coding-style
contrib/doc
contrib/example
contrib/test
contrib/release
contrib/dependency-management

.. meta::
:google-site-verification: KbkW8d9MLsBFZz8Ry0tfcQRkHsgxzkECCahcyRSjWDo
7 changes: 6 additions & 1 deletion doc/install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
Get Arbor
=========

To get started quickly with Arbor using its Python API on your personal machine, we advise that you install Arbor's Python package. If you wish to use the C++ API, you can use the Spack package, or build Arbor from source. Note that you can also build the Python bindings using these methods.
- To take a sneak preview of Arbor right here in your browser, navigate to `the Arbor Playground <https://arbor-sim.org/playground>`_.
- To download and install Arbor on your system, enter ``pip install arbor`` in a terminal.
- Download a `pre-built Arbor GUI <https://github.com/arbor-sim/gui/releases>`_.

More and more advanced installation instructions (such as building Arbor with GPU or MPI support)
can be found below:

.. toctree::
:maxdepth: 1
Expand Down
Binary file added doc/tutorial/gui/cell-3d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/gui-startup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/load-morph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/load-swc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/locset-error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/locset-ok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/param-set-Vm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/param-set-hh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/sim-iclamp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/sim-probe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/sim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/tutorial/gui/viewport-options.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions doc/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Cells
:maxdepth: 1

single_cell_model
single_cell_gui
single_cell_detailed
single_cell_cable
single_cell_allen
Expand Down
Loading