Skip to content

Commit 63a26af

Browse files
committed
Remove rescale_coords for time
1 parent c60ae2e commit 63a26af

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

docs/epoch_workshop_2026/animating/animate_2D_dist_fn_multispecies.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
input_dir, data_vars=["dist_fn_x_px_Left", "dist_fn_x_px_Right"]
88
)
99

10-
# Convert the time to femtoseconds
11-
ds = ds.epoch.rescale_coords(1e15, "fs", "time")
10+
# Rescale coords to account for kilometers
1211
ds = ds.epoch.rescale_coords(1e-3, "km", ["X_x_px_Left"])
1312

1413
# Sum phase-space of species "Left" and "Right" in "x_px" distribution function

0 commit comments

Comments
 (0)