Git Product home page Git Product logo

Comments (7)

pariterre avatar pariterre commented on May 27, 2024 1

@romainmartinez
If it is okay for, I'll let you have a look. But if it is ezc3d related, ping me, I'll solve this :D

from pyomeca.

romainmartinez avatar romainmartinez commented on May 27, 2024

Hi @Arevis13,
It's hard to solve your issue without having access to the data. You can send me a c3d file to my email address ([email protected]) so I can take a look at it.

from pyomeca.

Arevis13 avatar Arevis13 commented on May 27, 2024

from pyomeca.

romainmartinez avatar romainmartinez commented on May 27, 2024

You did not send me your file

from pyomeca.

Arevis13 avatar Arevis13 commented on May 27, 2024

from pyomeca.

romainmartinez avatar romainmartinez commented on May 27, 2024

Okay, I looked at your file and got the same values:

import matplotlib.pyplot as plt

from pyomeca import Markers3d

data_path = "calosc_aktor_z_mieczem.c3d"
markers = Markers3d.from_c3d(data_path, names=["phantom_I_-Hip-1"])

markers.plot()
plt.show()

test

Of all your markers, the following markers have their first 10 values between 90 and 110:

[
    "phantom_I_-Chest-1_Y",
    "phantom_I_-Chest-4_X",
    "phantom_I_-LHand-3_Y",
    "phantom_I_-RShoulder-1_X",
]

Which does not look like your plot:

test

@pariterre, either the file was written incorrectly or there is a problem with ezc3d:

import ezc3d

c3d = ezc3d.c3d("calosc_aktor_z_mieczem.c3d")
c3d["data"]["points"][1, 0, :]  # 67.81333923,   67.81333923,   67.81333923, ...

from pyomeca.

romainmartinez avatar romainmartinez commented on May 27, 2024

Closing

from pyomeca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.