Skip to content

Commit

Permalink
BUG: Incomplete example.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Nov 18, 2022
1 parent a80108b commit 4a0e8fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ants/utils/integrate_velocity_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def integrate_velocity_field(velocity_field,
Lower time bound for integration in [0, 1]
upper_integration_bound: float
Upper time bound in [0, 1]
Upper time bound for integration in [0, 1]
number_of_integation_steps: integer
Number of integration steps used in the Runge-Kutta solution
Expand All @@ -32,6 +32,7 @@ def integrate_velocity_field(velocity_field,
>>> fi = ants.image_read( ants.get_data( "r16" ) )
>>> mi = ants.image_read( ants.get_data( "r27" ) )
>>> reg = ants.registration(fi, mi, "TV[2]")
>>> velocity_field = ants.image_read(reg['velocityfield'][0])
>>> field = ants.integrate_velocity_field(velocity_field, 0.0, 1.0, 10)
"""

Expand Down

0 comments on commit 4a0e8fc

Please sign in to comment.