Skip to content
Snippets Groups Projects
  1. Aug 27, 2024
  2. Aug 23, 2024
  3. Aug 15, 2024
    • Thorsten Hater's avatar
      ASCII art for segment tree (#2224) · 2c08a566
      Thorsten Hater authored
      Allow ASCII rendering of segment trees and morphologies for debugging
      Example `segment_tree`
      ```
                            |              |                +-[-- id=1161 --]-+-[-- id=1709 --]---[-- id=2234 --]-+-[-- id=2625 --]---[-- id=3172 --]
                            |              |                |                 |                                   +-[-- id=2928 --]---[-- id=3765 --]
                            |              |                |                 |
                            |              |                |                 +-[-- id=1721 --]---[-- id=3504 --]---[-- id=3846 --]
                            |              |                |
                            |              |                +-[-- id=1867 --]
                            |              |
                            |              +-[-- id=1451 --]-+-[-- id=2356 --]
                            |                                +-[-- id=2471 --]---[-- id=2670 --]---[-- id=4031 --]
                            |
                            |
                            +-[-- id=35 --]---[-- id=263 --]-+-[-- id=409 --]-+-[-- id=475 --]---[-- id=1347 --]
                            |                                |                +-[-- id=480 --]-+-[-- id=1764 --]-+-[-- id=1912 --]
                            |                                |                |                |                 +-[-- id=2975 --]
                            |                                |                |                |
                            |                                |                |                +-[-- id=2047 --]
                            |                                |                |
                            |                                |                +-[-- id=3124 --]
                            |                                |
                            |                                +-[-- id=548 --]-+-[-- id=1436 --]---[-- id=1699 --]
                            |                                |                +-[-- id=2194 --]
                            |                                |                +-[-- id=3250 --]
                            |                                |                +-[-- id=3281 --]
                            |                                |                +-[-- id=3589 --]
                            |                                |
                            |                                +-[-- id=651 --]-+-[-- id=943 --]-+-[-- id=1024 --]-+-[-- id=1070 --]-+-[-- id=1477 --]-+-[-- id=1939 --]
                            |                                |                |                |                 |                 |                 +-[-- id=3457 --]
                            |                                |                |                |                 |                 |
                            |                                |                |                |                 |                 +-[-- id=2475 --]
                            |                                |                |                |                 |
                            |                                |                |                |                 +-[-- id=1929 --]
                            |                                |                |                |
                            |                                |                |                +-[-- id=1314 --]---[-- id=2677 --]
                            |                                |                |
                            |                                |                +-[-- id=1793 --]---[-- id=2792 --]
                            |                                |
                            |                                +-[-- id=1391 --]-+-[-- id=2548 --]
                            |                                                  +-[-- id=2743 --]
                            |
                            |
                            +-[-- id=1621 --]---[-- id=3879 --]
                            +-[-- id=1914 --]-+-[-- id=2572 --]
                            |                 +-[-- id=3385 --]
                            |
                            +-[-- id=3991 --]
      ```
      and the same snippet in the equivalent morphology
      ```
                         +-<-- id=217 len=1 -->-+-<-- id=301 len=1 -->-+-<-- id=310 len=2 -->-+-<-- id=2246 len=2 -->
                         |                      |                      |                      +-<-- id=2830 len=1 -->
                         |                      |                      |
                         |                      |                      +-<-- id=323 len=1 -->-+-<-- id=361 len=3 -->
                         |                      |                      |                      +-<-- id=1696 len=1 -->-+-<-- id=2166 len=1 -->
                         |                      |                      |                      |                       +-<-- id=2260 len=2 -->
                         |                      |                      |                      |
                         |                      |                      |                      +-<-- id=1735 len=1 -->-+-<-- id=1818 len=1 -->
                         |                      |                      |                      |                       +-<-- id=2118 len=1 -->
                         |                      |                      |                      |
                         |                      |                      |                      +-<-- id=1909 len=3 -->
                         |                      |                      |                      +-<-- id=2772 len=1 -->
                         |                      |                      |                      +-<-- id=3004 len=1 -->
                         |                      |                      |
                         |                      |                      +-<-- id=344 len=1 -->-+-<-- id=714 len=1 -->-+-<-- id=937 len=2 -->
                         |                      |                      |                      |                      +-<-- id=1292 len=2 -->
                         |                      |                      |                      |                      +-<-- id=1698 len=1 -->-+-<-- id=2036 len=1 -->
                         |                      |                      |                      |                                              +-<-- id=2382 len=1 -->
                         |                      |                      |                      |
                         |                      |                      |                      |
                         |                      |                      |                      +-<-- id=864 len=4 -->
                         |                      |                      |                      +-<-- id=2412 len=2 -->
                         |                      |                      |
                         |                      |                      +-<-- id=1570 len=1 -->
                         |                      |
                         |                      +-<-- id=355 len=1 -->-+-<-- id=928 len=1 -->-+-<-- id=2200 len=2 -->
                         |                      |                      |                      +-<-- id=2427 len=1 -->
                         |                      |                      |                      +-<-- id=2523 len=1 -->
                         |                      |                      |                      +-<-- id=2988 len=1 -->
                         |                      |                      |
                         |                      |                      +-<-- id=1303 len=1 -->-+-<-- id=2169 len=1 -->-+-<-- id=2334 len=1 -->
                         |                      |                      |                       |                       +-<-- id=2708 len=2 -->
                         |                      |                      |                       |
                         |                      |                      |                       +-<-- id=2647 len=1 -->
                         |                      |                      |
                         |                      |                      +-<-- id=1399 len=1 -->
                         |                      |
                         |                      +-<-- id=704 len=2 -->
                         |
                         +-<-- id=1157 len=2 -->
      ```
      
      Closes #2132
    • Han Lu's avatar
      added E_R to lif cell model (#2383) · 1050ff45
      Han Lu authored
      added a missing construction argument E_R to LIF cell in python
    • Thorsten Hater's avatar
      Auto-generate type stubs (#2384) · 8ac0dc72
      Thorsten Hater authored
      So far, we have manually generated stubs by installing
      `pybind11-stubgen`, using it, and finally copying over the result
      into `python/stubs`. This is tedious and tends to get forgotten, thus
      stubs are outdated, and clashes with `black`
      constantly.
      
      Thus, we
      - remove the static stub directory
      - generate stubs directly during build time
      - enable users to opt out
      
      PS: There are some fixes to warnings thrown during the stub
      construction, too.
  4. Aug 13, 2024
  5. Aug 09, 2024
    • Thorsten Hater's avatar
      Release v0.10.0 (#2380) · 6b6cc900
      Thorsten Hater authored
      # v0.10.0 (*08.08.2024*)
      
      ## Major Changes since v0.9.0
      * Automatic network generation from high-level specifications.
      * Units at the user interface including scaling and conversion.
      * Morphologies are loaded through a unified interface; which produces a bundle of morphology, metadata, and segment tree.
      
      ## Internal Updates
      
      * Documentation overhaul
      * Python bindings offer type stubs; giving auto-completion and inline documentation in some editors/IDEs.
      * Performance improvements
        - Label resolution uses hashes instead of strings, saving memory, network traffic, and time.
        - Spike delivery is up to 30% faster leading to 10% end-to-end improvements in some cases (e.g. `example/brunel`) 
        - Load balancing is faster and doesn't rely on MPI, leading to shorter setup times for large networks.
      * Fixes
        - Better support for source builds on MacOS (aarch64)
        - `modcc` no longer allows internal variables (`v`, `celsius`, ...) as `ASSIGNED`
        - Better support for raw (C++) mechanisms
      * MC cells renamed cable cells.
        
      ## Breaking changes
      * Return values of all morphology loaders have changed.
      * Raw (segment tree) loaders removed.
      * Support for Python 3.8 removed.
      * C++: Removed `simulation::inject_events`, use a generator instead. 
        
      ## New Contributors
      * @ErbB4 made their first contribution in https://github.com/arbor-sim/arbor/pull/2271
      
      **Full Changelog**: https://github.com/arbor-sim/arbor/compare/v0.9.0...v0.10.0
  6. Aug 08, 2024
  7. Aug 07, 2024
  8. Aug 05, 2024
  9. Aug 01, 2024
  10. Jul 31, 2024