Skip to content

Commit 1c7db13

Browse files
committed
increment init and remove precompute language
1 parent a858373 commit 1c7db13

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

docs/source/userguide/index.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ Defining the `Particles`
5353

5454
Defining a :obj:`dorado.particle_track.Particles` class is a key step in using `dorado` to perform particle routing. To define a set of particles, the model parameters must first be defined as described above. The `Particles` class is initialized using an instance of the model parameters. From there, particles can be generated and routed.
5555

56-
.. Note::
57-
When :obj:`dorado.particle_track.Particles` is initialized, all of the
58-
routing weights are automatically calculated. This may take some time for
59-
larger model domains, but allows for faster particle routing when particles
60-
are actually moved through the domain. There is a progress bar associated
61-
with this process so you don't feel like Python has gotten stuck in the
62-
object initialization.
63-
6456
Particle Generation and Routing
6557
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6658

dorado/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.4.0"
1+
__version__ = "2.4.1"
22

33

44
from . import lagrangian_walker

dorado/lagrangian_walker.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import numpy as np
1111
from numpy.random import random
1212
from numpy import maximum, nansum
13-
from tqdm import tqdm
1413

1514

1615
def random_pick_seed(choices, probs=None):
@@ -96,7 +95,7 @@ def get_weight(Particles, ind):
9695
"""Choose new cell location given an initial location.
9796
9897
Function to randomly choose 1 of the surrounding 8 cells around the
99-
current index using the pre-calculated routing weights.
98+
current index using the routing weights from make_weight.
10099
101100
**Inputs** :
102101

0 commit comments

Comments
 (0)