Skip to content

Commit

Permalink
update logo, doc, and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Jun 20, 2024
1 parent 894a420 commit 00da233
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 81 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# The Unit System for Brain Dynamics Programming
# Physical units and unit-aware mathematical system in JAX

<p align="center">
<img alt="Header image of brainunit." src="https://github.com/brainpy/brainunit/blob/main/docs/_static/brainunit.png" width=50%>
Expand All @@ -19,7 +19,7 @@
</p>


[``brainunit``](https://github.com/brainpy/brainunit) provides a unit-aware mathematical system for brain dynamics programming (BDP).
[``brainunit``](https://github.com/brainpy/brainunit) provides physical units and unit-aware mathematical system in JAX for brain dynamics and AI4Science


## Installation
Expand All @@ -40,7 +40,7 @@ The official documentation is hosted on Read the Docs: [https://brainunit.readth

- [``brainstate``](https://github.com/brainpy/brainstate): A ``State``-based transformation system for brain dynamics programming.

- [``brainunit``](https://github.com/brainpy/brainunit): The unit system for brain dynamics programming.
- [``brainunit``](https://github.com/brainpy/brainunit): Physical units and unit-aware mathematical system in JAX for brain dynamics and AI4Science.

- [``braintaichi``](https://github.com/brainpy/braintaichi): Leveraging Taichi Lang to customize brain dynamics operators.

Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Release Notes

## Version 0.0.1

The first release of the project.



Binary file modified docs/_static/brainunit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,22 @@

import os
import sys
import shutil

sys.path.insert(0, os.path.abspath('../'))

import brainunit

os.makedirs('apis/', exist_ok=True)

changelogs = [
('../changelog.md', 'apis/changelog.md'),
]
for source, dest in changelogs:
if os.path.exists(dest):
os.remove(dest)
shutil.copyfile(source, dest)


# -- Project information -----------------------------------------------------

Expand Down Expand Up @@ -100,7 +111,7 @@
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

html_theme = "sphinx_book_theme"
html_logo = "_static/brainunit.jpg"
html_logo = "_static/brainunit.png"
html_title = "brainunit"
html_copy_source = True
html_sourcelink_suffix = ""
Expand Down
79 changes: 7 additions & 72 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
``brainunit`` documentation
===========================

`brainunit <https://github.com/brainpy/brainunit>`_ provides a unit-aware system for brain dynamics programming (BDP).
`brainunit <https://github.com/brainpy/brainunit>`_ provides physical units and unit-aware mathematical system in JAX for brain dynamics and AI4Science.




----

Expand All @@ -17,12 +20,6 @@ Installation
pip install -U brainunit[cpu]
.. tab-item:: GPU (CUDA 11.0)

.. code-block:: bash
pip install -U brainunit[cuda11]
.. tab-item:: GPU (CUDA 12.0)

.. code-block:: bash
Expand All @@ -38,70 +35,6 @@ Installation
----

Learn more
^^^^^^^^^^

.. grid::

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`rocket_launch;2em` Installation
:class-card: sd-text-black sd-bg-light
:link: quickstart/installation.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`library_books;2em` Core Concepts
:class-card: sd-text-black sd-bg-light
:link: core_concepts.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`science;2em` BDP Tutorials
:class-card: sd-text-black sd-bg-light
:link: tutorials.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`token;2em` Advanced Tutorials
:class-card: sd-text-black sd-bg-light
:link: advanced_tutorials.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`settings;2em` BDP Toolboxes
:class-card: sd-text-black sd-bg-light
:link: toolboxes.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`rocket_launch;2em` FAQ
:class-card: sd-text-black sd-bg-light
:link: FAQ.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`data_exploration;2em` API documentation
:class-card: sd-text-black sd-bg-light
:link: api.html

.. grid-item::
:columns: 6 6 6 4

.. card:: :material-regular:`settings;2em` Examples
:class-card: sd-text-black sd-bg-light
:link: https://brainpy-examples.readthedocs.io/en/latest/index.html


----


Expand Down Expand Up @@ -150,7 +83,9 @@ See also the BDP ecosystem
:maxdepth: 1
:caption: API Documentation

api.rst
apis/changelog.md
apis/brainunit.rst
apis/brainunit.math.rst



6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,9 @@
"Source Code": "https://github.com/brainpy/brainunit",
},
extras_require={
'cpu': ['jaxlib', ],
'cuda11': ['jaxlib[cuda11_pip]', ],
'cpu': ['jaxlib'],
'cuda12': ['jaxlib[cuda12_pip]', ],
'tpu': ['jaxlib[tpu]'],
'cpu_mini': ['jaxlib'],
'cuda11_mini': ['jaxlib[cuda11_pip]'],
'cuda12_mini': ['jaxlib[cuda12_pip]'],
},
keywords=('computational neuroscience, '
'brain-inspired computation, '
Expand Down

0 comments on commit 00da233

Please sign in to comment.