From 333afe791ecc2edb8f7e8eed6f9039bd4289fd9d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 22 Nov 2024 07:03:48 +0000 Subject: [PATCH] Deployed ba42d64 to dev with MkDocs 1.6.1 and mike 2.1.3 --- dev/reference/utils/index.html | 120 ++++++++++++++++----------------- dev/sitemap.xml | 50 +++++++------- dev/sitemap.xml.gz | Bin 452 -> 452 bytes 3 files changed, 85 insertions(+), 85 deletions(-) diff --git a/dev/reference/utils/index.html b/dev/reference/utils/index.html index bbf74c32..ac088366 100644 --- a/dev/reference/utils/index.html +++ b/dev/reference/utils/index.html @@ -1595,8 +1595,7 @@

Source code in jaxley/utils/cell_utils.py -
267
-268
+              
268
 269
 270
 271
@@ -1625,7 +1624,8 @@ 

294 295 296 -297

def build_radiuses_from_xyzr(
+297
+298
def build_radiuses_from_xyzr(
     radius_fns: List[Callable],
     branch_indices: List[int],
     min_radius: Optional[float],
@@ -1679,8 +1679,7 @@ 

Source code in jaxley/utils/cell_utils.py -
703
-704
+              
704
 705
 706
 707
@@ -1740,7 +1739,8 @@ 

761 762 763 -764

def compute_axial_conductances(
+764
+765
def compute_axial_conductances(
     comp_edges: pd.DataFrame, params: Dict[str, jnp.ndarray]
 ) -> jnp.ndarray:
     """Given `comp_edges`, radius, length, r_a, cm, compute the axial conductances.
@@ -1823,15 +1823,15 @@ 

Source code in jaxley/utils/cell_utils.py -
767
-768
+              
768
 769
 770
 771
 772
 773
 774
-775
def compute_children_and_parents(
+775
+776
def compute_children_and_parents(
     branch_edges: pd.DataFrame,
 ) -> Tuple[jnp.ndarray, jnp.ndarray, jnp.ndarray, int]:
     """Build indices used during `._init_morph_custom_spsolve()."""
@@ -1865,8 +1865,7 @@ 

Source code in jaxley/utils/cell_utils.py -
452
-453
+              
453
 454
 455
 456
@@ -1878,7 +1877,8 @@ 

462 463 464 -465

def compute_children_indices(parents) -> List[jnp.ndarray]:
+465
+466
def compute_children_indices(parents) -> List[jnp.ndarray]:
     """Return all children indices of every branch.
 
     Example:
@@ -1918,8 +1918,7 @@ 

Source code in jaxley/utils/cell_utils.py -
514
-515
+              
515
 516
 517
 518
@@ -1929,7 +1928,8 @@ 

522 523 524 -525

def compute_coupling_cond(rad1, rad2, r_a1, r_a2, l1, l2):
+525
+526
def compute_coupling_cond(rad1, rad2, r_a1, r_a2, l1, l2):
     """Return the coupling conductance between two compartments.
 
     Equations taken from `https://en.wikipedia.org/wiki/Compartmental_neuron_models`.
@@ -1972,8 +1972,7 @@ 

Source code in jaxley/utils/cell_utils.py -
528
-529
+              
529
 530
 531
 532
@@ -1992,7 +1991,8 @@ 

545 546 547 -548

def compute_coupling_cond_branchpoint(rad, r_a, l):
+548
+549
def compute_coupling_cond_branchpoint(rad, r_a, l):
     r"""Return the coupling conductance between one compartment and a comp with l=0.
 
     From https://en.wikipedia.org/wiki/Compartmental_neuron_models
@@ -2041,8 +2041,7 @@ 

Source code in jaxley/utils/cell_utils.py -
551
-552
+              
552
 553
 554
 555
@@ -2053,7 +2052,8 @@ 

560 561 562 -563

def compute_impact_on_node(rad, r_a, l):
+563
+564
def compute_impact_on_node(rad, r_a, l):
     r"""Compute the weight with which a compartment influences its node.
 
     In order to satisfy Kirchhoffs current law, the current at a branch point must be
@@ -2088,8 +2088,7 @@ 

Source code in jaxley/utils/cell_utils.py -
647
-648
+              
648
 649
 650
 651
@@ -2106,7 +2105,8 @@ 

662 663 664 -665

def compute_morphology_indices_in_levels(
+665
+666
def compute_morphology_indices_in_levels(
     num_branchpoints,
     child_belongs_to_branchpoint,
     par_inds,
@@ -2215,8 +2215,7 @@ 

Source code in jaxley/utils/cell_utils.py -
612
-613
+              
613
 614
 615
 616
@@ -2232,7 +2231,8 @@ 

626 627 628 -629

def convert_point_process_to_distributed(
+629
+630
def convert_point_process_to_distributed(
     current: jnp.ndarray, radius: jnp.ndarray, length: jnp.ndarray
 ) -> jnp.ndarray:
     """Convert current point process (nA) to distributed current (uA/cm2).
@@ -2303,15 +2303,15 @@ 

Source code in jaxley/utils/cell_utils.py -
300
-301
+              
301
 302
 303
 304
 305
 306
 307
-308
def equal_segments(branch_property: list, ncomp_per_branch: int):
+308
+309
def equal_segments(branch_property: list, ncomp_per_branch: int):
     """Generates segments where some property is the same in each segment.
 
     Args:
@@ -2341,8 +2341,7 @@ 

Source code in jaxley/utils/cell_utils.py -
468
-469
+              
469
 470
 471
 472
@@ -2354,7 +2353,8 @@ 

478 479 480 -481

def get_num_neighbours(
+481
+482
def get_num_neighbours(
     num_children: jnp.ndarray,
     ncomp_per_branch: int,
     num_branches: int,
@@ -2391,8 +2391,7 @@ 

Source code in jaxley/utils/cell_utils.py -
668
-669
+              
669
 670
 671
 672
@@ -2408,7 +2407,8 @@ 

682 683 684 -685

def group_and_sum(
+685
+686
def group_and_sum(
     values_to_sum: jnp.ndarray, inds_to_group_by: jnp.ndarray, num_branchpoints: int
 ) -> jnp.ndarray:
     """Group values by whether they have the same integer and sum values within group.
@@ -2499,8 +2499,7 @@ 

Source code in jaxley/utils/cell_utils.py -
578
-579
+              
579
 580
 581
 582
@@ -2513,7 +2512,8 @@ 

589 590 591 -592

def interpolate_xyzr(loc: float, coords: np.ndarray):
+592
+593
def interpolate_xyzr(loc: float, coords: np.ndarray):
     """Perform a linear interpolation between xyz-coordinates.
 
     Args:
@@ -2596,8 +2596,7 @@ 

Source code in jaxley/utils/cell_utils.py -
311
-312
+              
312
 313
 314
 315
@@ -2619,7 +2618,8 @@ 

331 332 333 -334

def linear_segments(
+334
+335
def linear_segments(
     initial_val: float, endpoint_vals: list, parents: jnp.ndarray, ncomp_per_branch: int
 ):
     """Generates segments where some property is linearly interpolated.
@@ -2664,12 +2664,12 @@ 

Source code in jaxley/utils/cell_utils.py -
506
-507
+              
507
 508
 509
 510
-511
def loc_of_index(global_comp_index, global_branch_index, ncomp_per_branch):
+511
+512
def loc_of_index(global_comp_index, global_branch_index, ncomp_per_branch):
     """Return location corresponding to global compartment index."""
     cumsum_ncomp = cumsum_leading_zero(ncomp_per_branch)
     index = global_comp_index - cumsum_ncomp[global_branch_index]
@@ -2783,8 +2783,7 @@ 

Source code in jaxley/utils/cell_utils.py -
484
-485
+              
485
 486
 487
 488
@@ -2802,7 +2801,8 @@ 

500 501 502 -503

def local_index_of_loc(
+503
+504
def local_index_of_loc(
     loc: float, global_branch_ind: int, ncomp_per_branch: int
 ) -> int:
     """Returns the local index of a comp given a loc [0, 1] and the index of a branch.
@@ -2945,8 +2945,7 @@ 

Source code in jaxley/utils/cell_utils.py -
337
-338
+              
338
 339
 340
 341
@@ -2993,7 +2992,8 @@ 

382 383 384 -385

def merge_cells(
+385
+386
def merge_cells(
     cumsum_num_branches: List[int],
     cumsum_num_branchpoints: List[int],
     arrs: List[List[np.ndarray]],
@@ -3068,8 +3068,7 @@ 

Source code in jaxley/utils/cell_utils.py -
595
-596
+              
596
 597
 598
 599
@@ -3082,7 +3081,8 @@ 

606 607 608 -609

def params_to_pstate(
+609
+610
def params_to_pstate(
     params: List[Dict[str, jnp.ndarray]],
     indices_set_by_trainables: List[jnp.ndarray],
 ):
@@ -3124,8 +3124,7 @@ 

Source code in jaxley/utils/cell_utils.py -
688
-689
+              
689
 690
 691
 692
@@ -3136,7 +3135,8 @@ 

697 698 699 -700

def query_channel_states_and_params(d, keys, idcs):
+700
+701
def query_channel_states_and_params(d, keys, idcs):
     """Get dict with subset of keys and values from d.
 
     This is used to restrict a dict where every item contains __all__ states to only
@@ -3171,13 +3171,13 @@ 

Source code in jaxley/utils/cell_utils.py -
566
-567
+              
567
 568
 569
 570
 571
-572
def remap_to_consecutive(arr):
+572
+573
def remap_to_consecutive(arr):
     """Maps an array of integers to an array of consecutive integers.
 
     E.g. `[0, 0, 1, 4, 4, 6, 6] -> [0, 0, 1, 2, 2, 3, 3]`
diff --git a/dev/sitemap.xml b/dev/sitemap.xml
index 403f902a..e11eb757 100644
--- a/dev/sitemap.xml
+++ b/dev/sitemap.xml
@@ -2,102 +2,102 @@
 
     
          https://jaxleyverse.github.io/jaxley/dev/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/code_of_conduct/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/contribute/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/credits/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/faq/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/install/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/faq/question_01/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/faq/question_02/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/faq/question_03/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/reference/connect/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/reference/integration/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/reference/mechanisms/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/reference/modules/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/reference/optimize/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/reference/utils/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/00_jaxley_api/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/01_morph_neurons/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/02_small_network/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/04_jit_and_vmap/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/05_channel_and_synapse_models/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/06_groups/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/07_gradient_descent/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/08_importing_morphologies/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/09_advanced_indexing/
-         2024-11-21
+         2024-11-22
     
     
          https://jaxleyverse.github.io/jaxley/dev/tutorial/10_advanced_parameter_sharing/
-         2024-11-21
+         2024-11-22
     
 
\ No newline at end of file
diff --git a/dev/sitemap.xml.gz b/dev/sitemap.xml.gz
index f489ec142284505e436b7aa43ded9ef12110277d..8d6e7ecd791922912ff9e1cf134f8dc8b7bf4f0e 100644
GIT binary patch
delta 29
lcmX@Ye1w@@zMF%i;iUaU_MMDY6A%98cwiU5+MADo0RWp43OWD)

delta 29
lcmX@Ye1w@@zMF%Cp~7w=`%cEFi3fjk2!0FC_U2