Skip to content

Commit

Permalink
Merge pull request #654 from eickenberg/patch-1
Browse files Browse the repository at this point in the history
DOC fix random uniform call in 1 minute intro
  • Loading branch information
rainwoodman committed Apr 10, 2021
2 parents a387cf4 + ba5e808 commit c4d4b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ easily manipulate the existing column data or add new columns:
BoxSize = 2500.
catalog['Position'] *= BoxSize # re-normalize units of Position
catalog['Mass'] = 10**(numpy.random(12, 15, size=len(catalog))) # add some random mass values
catalog['Mass'] = 10**(numpy.random.uniform(12, 15, size=len(catalog))) # add some random mass values
We can generate a representation of the density field on a mesh using our
catalog of objects. Here, we interpolate the particles onto a mesh of
Expand Down

0 comments on commit c4d4b23

Please sign in to comment.