Skip to content

Commit

Permalink
Merge pull request #299 from Ipuch/patch-1
Browse files Browse the repository at this point in the history
add units in Points to make it readable by mokka
  • Loading branch information
pariterre authored Oct 20, 2023
2 parents 03cafd1 + 0f949d4 commit fda7b03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ import ezc3d
c3d = ezc3d.c3d()

# Fill it with random data
c3d['parameters']['POINT']['UNITS']['value'] = ['m']
c3d['parameters']['POINT']['RATE']['value'] = [100]
c3d['parameters']['POINT']['LABELS']['value'] = ('point1', 'point2', 'point3', 'point4', 'point5')
c3d['data']['points'] = np.random.rand(4, 5, 100)
Expand Down

0 comments on commit fda7b03

Please sign in to comment.