Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBordiga committed Jul 25, 2024
1 parent 9e0a8a4 commit f999f1c
Showing 1 changed file with 3 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,27 +330,7 @@
"outputs": [],
"source": [
"# t = track_video(video_path=video_paths[4],\n",
"# plot_centroids=False, monitor_progress=True)\n",
"\n",
"# # Animation tracked experiments\n",
"# xlim, ylim = problem.geometry.get_xy_limits(\n",
"# *design_values) + 0.5*problem.geometry.spacing * jnp.array([-1, 1])\n",
"\n",
"# generate_animation(\n",
"# t._replace(fields=smooth_fields_SG(\n",
"# t.fields, window_length=[[11, 11, 19], [21, 21, 25]], polyorder=2)\n",
"# ),\n",
"# frame_range=jnp.arange(0, t.timepoints.shape[0], 2),\n",
"# field=\"u\",\n",
"# deformed=True,\n",
"# out_filename=f\"{video_paths[4].stem}.mp4\",\n",
"# xlim=xlim,\n",
"# ylim=ylim,\n",
"# figsize=(8, 5),\n",
"# fps=30,\n",
"# dpi=300,\n",
"# cmap=\"inferno\",\n",
"# )"
"# plot_centroids=False, monitor_progress=True)\n"
]
},
{
Expand Down Expand Up @@ -571,26 +551,7 @@
"outputs": [],
"source": [
"# t = track_video(video_path=video_paths[8],\n",
"# plot_centroids=False, monitor_progress=True)\n",
"# # Animation tracked experiments\n",
"# xlim, ylim = problem.geometry.get_xy_limits(\n",
"# *design_values) + 0.5*problem.geometry.spacing * jnp.array([-1, 1])\n",
"\n",
"# generate_animation(\n",
"# t._replace(fields=smooth_fields_SG(\n",
"# t.fields, window_length=[[11, 11, 19], [21, 21, 25]], polyorder=2)\n",
"# ),\n",
"# frame_range=jnp.arange(0, t.timepoints.shape[0], 2),\n",
"# field=\"v\",\n",
"# deformed=True,\n",
"# out_filename=f\"{video_paths[8].stem}.mp4\",\n",
"# xlim=xlim,\n",
"# ylim=ylim,\n",
"# figsize=(8, 5),\n",
"# fps=30,\n",
"# dpi=300,\n",
"# cmap=\"inferno\",\n",
"# )"
"# plot_centroids=False, monitor_progress=True)\n"
]
},
{
Expand Down Expand Up @@ -808,26 +769,7 @@
"outputs": [],
"source": [
"# t = track_video(video_path=video_paths[-3],\n",
"# plot_centroids=False, monitor_progress=True)\n",
"# # Animation tracked experiments\n",
"# xlim, ylim = problem.geometry.get_xy_limits(\n",
"# *design_values) + 0.5*problem.geometry.spacing * jnp.array([-1, 1])\n",
"\n",
"# generate_animation(\n",
"# t._replace(fields=smooth_fields_SG(\n",
"# t.fields, window_length=[[11, 11, 19], [21, 21, 25]], polyorder=2)\n",
"# ),\n",
"# frame_range=jnp.arange(0, t.timepoints.shape[0], 2),\n",
"# field=\"v\",\n",
"# deformed=True,\n",
"# out_filename=f\"{video_paths[-3].stem}.mp4\",\n",
"# xlim=xlim,\n",
"# ylim=ylim,\n",
"# figsize=(8, 5),\n",
"# fps=30,\n",
"# dpi=300,\n",
"# cmap=\"inferno\",\n",
"# )"
"# plot_centroids=False, monitor_progress=True)\n"
]
},
{
Expand Down

0 comments on commit f999f1c

Please sign in to comment.