Skip to content

Commit

Permalink
Merge 0c1598d into e06994d
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilidsch committed Dec 10, 2020
2 parents e06994d + 0c1598d commit fe8b30c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyomeca/io/read.py
Expand Up @@ -56,8 +56,8 @@ def read_c3d(
reader.parameters().group(group).parameter("UNITS").valuesAsString()[0]
)

time = np.arange(
start=0, stop=data.shape[-1] / attrs["rate"], step=1 / attrs["rate"]
time = np.linspace(
start=0, stop=data.shape[-1] / attrs["rate"], num=data.shape[-1], endpoint=False
)
return caller(
data[0, ...] if group == "ANALOG" else data, channels, time, attrs=attrs
Expand Down

0 comments on commit fe8b30c

Please sign in to comment.