Skip to main content

Easy to use C3D reader/writer for C++, Python, and Matlab

Project description

EZC3D

EZC3D is an easy to use reader, modifier and writer for C3D format files. It is written in C++ with proper binders for Python and MATLAB scripting languages.

C3D (http://c3d.org) is a format specifically designed to store biomechanics data. Hence many biomechanics softwares can produce C3D files in order to share data. However, there is a lack in the biomechanics community of an easy to use, free and open source library to read, modify and write them as needed when it gets to the data analysis. There was at some point the BTK project (https://github.com/Biomechanical-ToolKit/BTKCore) that was targeting this goal, but the project is now obsolete.

EZC3D addresses these issues. It offers a comprehensive and light API to read and write C3D files. The source code is written in C++ allowing to be compiled and used by higher level languages thanks to SWIG (http://www.swig.org/). Still, proper interface are written on top of the SWIG binder in order to facilitate the experience of the coders in their respective languages.

You can get the online version of the paper for EZC3D here: DOI

So, without further ado, let's begin C3Ding!

Table of Contents

How to install

There are two main ways to install EZC3D on your computer: the easy method, installing the binaries from pip or Anaconda (Python users) or from the Release page (Matlab users); or the hard method, compiling the source code yourself (more versatile and up to date).

Pip (For Python users on Windows, Linux and Mac)

For Python users, the easiest way to install EZC3D is to install it using the pip command. Simply type in a shell:

pip install ezc3d

assuming pip is installed and, voilà!

Anaconda (For Python users on Windows, Linux and Mac)

For Python users, the second easiest way to install EZC3D is to download the binaries from anaconda (https://anaconda.org/) repositories (while binaries are available for Python3). The project is hosted on the conda-forge channel (https://anaconda.org/conda-forge/ezc3d).

After having installed properly an anaconda client [my suggestion would be Miniconda (https://conda.io/miniconda.html)] and loaded the desired environment to install EZC3D in, just type the following command for installing the Python3 binaries:

conda install -c conda-forge ezc3d

The binaries and includes of the core of EZC3D will be installed in bin and include folders of the environment respectively. Moreover, the Python3 binder will also be installed in the environment.

The current building status for Anaconda release is as follow.

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Download binaries (For MATLAB users on Windows, Linux and Mac)

The MATLAB users can download the binaries directly from the Release page of ezc3d at this URL: https://github.com/pyomeca/ezc3d/releases/latest.

Once the folder is downloaded, you simply unzip it, add it to the MATLAB's path, and enjoy ezc3d!

https://github.com/user-attachments/assets/9abf62db-f750-41de-80a9-b421daad2dfa

Compiling (For Windows, Linux and Mac)

The main drawback with downloading the pre-compiled version from Anaconda is that it may be out-of-date. Moreover, since it is already compiled, it doesn't allow you to modify EZC3D if you need it. Therefore, a more versatile way to enjoy EZC3D is to compile it by yourself.

The building status for the current EZC3D branches is as follow

Name Status
Dev Build status
Test coverage codecov
DOI DOI

Dependencies

EZC3D does not rely on any external dependency. However, it comes in the form of a CMake (https://cmake.org/) project. Consequently, CMake must be installed on your computer to compile EZC3D. It can be installed from the official website or by Anaconda using the following command:

conda install -c conda-forge cmake

Moreover, if ones is interested in developing EZC3D, the googletest suite is required to test your modifications. Fortunately, the CMake project should download and compile the test suite for you!

When compiling the binders, some additional dependencies are required. For the Python binder, Python3 is indeed required but also numpy (https://numpy.org/) and SWIG (http://www.swig.org/). They can be installed from their respective official websites or by Anaconda using the following command:

conda install -c conda-forge numpy swig

For the MATLAB binder, the only additional dependency is MATLAB (https://www.mathworks.com/) itself.

CMake

EZC3D comes in the form of a CMake (https://cmake.org/) project. If you don't know how to use CMake, you will find many examples on Internet. For the Windows user, a quick video was made to show how to compile for the MATLAB binder here. Please note that the video is made from a french computer. This should not impair the workflow, but may be a bit confusing for some english folks!

The cmake variables to set are:

CMAKE_INSTALL_PREFIX Which is the path/to/install EZC3D in. If you compile the Python3 binder, a valid installation of Python with Numpy should be installed relative to this path.

BUILD_SHARED_LIBS If you wan to build EZC3D in a shared TRUE or static FALSE library manner. Default is TRUE.

CMAKE_BUILD_TYPE Which type of build you want. Options are Debug, RelWithDebInfo, MinSizeRel or Release. This is relevant only for the build done using the make command. Please note that you may experience a slow EZC3D library if you compile it without any optimization (i.e. Debug) especially on Windows.

USE_MATRIX_FAST_ACCESSOR If fast accessor should be used (ON) or not (OFF). Fast accessor is, as its name suggests faster, but do not check for sanity of the elements and can lead to segmentation faults for ill-c3d. Default is ON.

BUILD_EXAMPLE If you want (TRUE) or not (FALSE) to build the C++ example. Default is TRUE.

BUILD_TESTS If you want ON or not OFF to build the tests of the project. Please note that this will automatically download gtest (https://github.com/google/googletest). Default is OFF.

BUILD_DOC If you want (ON) or not (OFF) to build the documentation of the project. Default is OFF.

BINDER_PYTHON3 If you want (ON) or not (OFF) to build the Python binder. Default is OFF.

Python3_EXECUTABLE If BINDER_PYTHON3 is set to ON then this variable should point to the Python executable. This python should have SWIG and Numpy installed with it. This variable should be found automatically, but Anaconda finds the base prior to the actual environment, so one should gives attention to that particular variable.

PYTHON_INSTALL_PREFIX The folder to install the Python binder. The default value is the site-package folder of the current Python (which may require administrator privileges)

SWIG_EXECUTABLE If BINDER_PYTHON3 is set to ON then this variable should point to the SWIG executable. This variable will be found automatically if Python3_EXECUTABLE is properly set.

BINDER_MATLAB If you want (ON) or not (OFF) to build the MATLAB binder. Default is OFF.

MATLAB_ROOT_DIR If BINDER_MATLAB is set to ON then this variable should point to the root path of MATLAB directory (something like "C:\Program Files\MATLAB\R2022b"). Please note that the MATLAB binder is based on MATLAB R2018a API and won't compile on earlier versions. This variable should be found automatically, except on Mac where the value should manually be set to the MATLAB in the App folder.

MATLAB_ezc3d_INSTALL_DIR If BINDER_MATLAB is set to ON then this variable should point to the path where you want to install EZC3D. Typically, you want this to be in {MY DOCUMENTS}/MATLAB, which is not the default location. The default value is the toolbox folder of MATLAB, i.e., {MATLAB_ROOT}/toolbox. Please note that if you leave the default value, you will probably need to grant administrator rights to the installer.

Fix for MATLAB: There is a known issue with libstdc++.so.6 in MATLAB on Ubuntu. To fix it, you need to copy the libstdc++.so.6 from your system to the MATLAB bin folder. For example, on Ubuntu 18.04, you can do the following:

export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6

Then, you can run MATLAB from the same terminal. Or if you want to run MATLAB from the desktop, you can remove the original libstdc++.so.6 file in the MATLAB/sys/os/glnxa64 folder and replace it with a symbolic link to the system libstdc++.so.6 file with the following:

cd /usr/local/MATLAB/R2022b/sys/os/glnxa64
ln -s /lib/x86_64-linux-gnu/libstdc++.so.6

VCPKG (For Windows, Linux and Mac)

An automated script for compilation is offered on vcpkg. Install vcpkg by making a local clone from its GitHub repo https://github.com/Microsoft/vcpkg. Then run the vcpkg-bootstrapper script to set it up. For detailed installation instructions, see Install vcpkg. To integrate vcpkg with your Visual Studio or Visual Studio Code development environment, see Integrate vcpkg. Then, to use vcpkg to install or update a library, see Manage libraries with vcpkg. For more information about vcpkg commands, see vcpkg command-line reference.

👀 EZC3D is available in VCPKG since 2020-11 release

Compile via setup.py

This way of "installing" is mostly for convenience when developing on ezc3d and the python-wrapper. It is not recommended for normal usage. Refer to Anaconda for that, simply call:

python install .

How to use

The aim of EZC3D is to be, indeed, easy to use. Still, it is a C++ library and therefore requires some time to adapt. This section aims to help you level up as fast as possible, in order to enjoy EZC3D as fast as possible.

There are example codes for C++, Python3 and MATLAB in the folder example that can be used as template to perform all the day-to-day tasks. Moreover, the test files in the tests folder can also be very useful.

The C++ API

The core code is written in C++, meaning that you can fully create from scratch, read and write C3D from C++. The information that follows is a basic guide that should allow you to perform everything you want to do.

Create an empty yet valid C3D structure

To create a new valid yet empty C3D, just call the c3d class without parameter.

ezc3d::c3d c3d;

Read a C3D

To read a C3D file you simply have to call the c3d class with a path

ezc3d::c3d c3d("path/to/c3d.c3d");

Additionnally, a default ignoreBadFormatting flag can be set to true so file with bad formatting are read even though they are not formatted properly. This must be used with caution as it can result in segmentation fault, depending on the reason the formatting is bad. Please note that on Windows, the path must be / or \\ separated (and not only\), for obvious reasons.

Write a C3D

A c3d class is able to write itself to a file using the method write

ezc3d::c3d c3d;
c3d.write("path_to_c3d.c3d")

Please note that one can pass extra parameters to the write method that allows for non-standard c3d to be written. This must be used with care as the resulting c3d may or may not be readable by a third-party software. That said, some software expect non-standard c3d.

Navigating through the C3D class

The C3D class mimics the C3D structures as defined by the standard, that is separated into a header, a parameters and a data class. You can get a const-reference to these classes by simply calling their names (see below for more specific examples)

Copying the C3D class

Please not that a copy of a c3d class will results in a shallow copy

Get a value from the header

To retrieve some information from the header, just call the header class and then the specific information you are interested in. If for example, you want to get the frame rate of the cameras, you should do as follow:

ezc3d::c3d c3d("path_to_c3d.c3d");
float pointRate(c3d.header().frameRate());

Please note that the names mimics those used by the C3D format as described by the c3d.org documentation. For more information on what you can get from the header, please refer to the documentation on header.

Set a value to the header

It is not possible from outside to add, remove or even modify the header directly. The reason for that is that the header has a very specific formatting to be compliant to the standard. Therefore, the header will update itself if needed when the parameters class is modified. If it doesn't this is a bug that should be reported.

Get a parameter

Parameters in C3D are arranged in a GROUP:PARAMETER manner and the classes in EZC3D mimic this arrangement. Therefore a particular parameter always stands inside of a group. For example, if you are interested in the labels of the points, you can navigate up to the POINT group and then to the LABELS parameter.

ezc3d::c3d c3d;
std::vector<std::string> point_labels(c3d.parameters().group("POINT").parameter("LABELS").valuesAsString());
for (size_t m = 0; m < point_labels.size(); ++m){
  std::cout << point_labels[m] << std::endl;
}

For more information on what you can get from the parameters, please refer to the documentation on parameters.

Set a parameter

To set a parameter into a group, you must call the accessor method provided into the c3d class. The first parameter of the function is the name of the group to set the new parameter in, and the second parameter of the function is the actual parameter to set.

ezc3d::c3d c3d;
ezc3d::ParametersNS::GroupNS::Parameter param("name_of_my_new_parameter"); // Create a new parameter
param.set(2.0); // Give a value to the parameter
c3d.parameter("GroupName", param); // Add the parameter to the c3d structure

Please note that if this parameter already exist in the group named "GroupName", then this parameter is replaced by the new one. Otherwise, if it doesn't exist or the group doesn't exist, then it is added to the group or the group is created then the parameter is added. For more information on how to set a new parameter from c3d accessors methods, please refer to the documentation on c3d.

Get data

Point and analogous data are the core of the C3D file (please note that rotation data are also available, but are non-standard). To understand the structure though it is essential to understand that everything is based on points. For example, the base frame rate the point frame rate, while the analogous data is based on the number of data per point frame. Therefore to get a particular point in time, you must get the data at a certain frame and specify which point you are interested in, while to get a particular analogous data you must also specify the subframe.

ezc3d::c3d c3d("path_to_c3d.c3d");
ezc3d::DataNS::Points3dNS::Point pt(new_c3d.c3d.data().frame(f).points().point(0));
pt.print();
ezc3d::DataNS::AnalogsNS::Channel channel(new_c3d.c3d.data().frame(0).analogs().subframe(0).channel("channel1"));
channel.print();

For more information on what you can get from the points, please refer to the documentation on points or analogs.

Set data

There are two ways to add data to the data set.

Using the c3d accessor

The first and preferred way is to add a frame via the accessors method of the class c3d. The parameter to send is the filled frame to add/replace to the data structure. Please note that the points and channel must have been declare to the parameters before adding them to the data set. This is so the whole c3d structure is properly harmonized. Please also note, for the same reason, that POINT:RATE and ANALOG:RATE must have been declared before adding points and analogs. Here is a full example that creates a new C3D, add points and analogs and print it to the console.

// Create an empy c3d
ezc3d::c3d c3d_empty;

// Declare rates
ezc3d::ParametersNS::GroupNS::Parameter pointRate("RATE");
pointRate.set(std::vector<float>() = {100}, {1});
c3d_empty.parameter("POINT", pointRate);

ezc3d::ParametersNS::GroupNS::Parameter analogRate("RATE");
analogRate.set(std::vector<float>() = {1000}, {1});
c3d_empty.parameter("ANALOG", analogRate);

// Declare the points and channels to the c3d
c3d_empty.point("new_marker1"); // Add empty
c3d_empty.point("new_marker2"); // Add empty
c3d_empty.analog("new_analog1"); // add the empty
c3d_empty.analog("new_analog2"); // add the empty

// Fill them with some random values
ezc3d::DataNS::Frame f;
std::vector<std::string>labels(c3d_empty.parameters().group("POINT").parameter("LABELS").valuesAsString());
int nPoints(c3d_empty.parameters().group("POINT").parameter("USED").valuesAsInt()[0]);
ezc3d::DataNS::Points3dNS::Points pts;
for (size_t i=0; i<static_cast<size_t>(nPoints); ++i){
    ezc3d::DataNS::Points3dNS::Point pt;
    pt.name(labels[i]);
    pt.x(1.0);
    pt.y(2.0);
    pt.z(3.0);
    pts.point(pt);
}
ezc3d::DataNS::AnalogsNS::Analogs analog;
ezc3d::DataNS::AnalogsNS::SubFrame subframe;
for (size_t i=0; i < c3d_empty.header().nbAnalogs(); ++i){
    ezc3d::DataNS::AnalogsNS::Channel c;
    c.data(i+1);
    subframe.channel(c);
}
for (size_t i=0; i < c3d_empty.header().nbAnalogByFrame(); ++i)
    analog.subframe(subframe);
    
// add them to the data set
f.add(pts, analog);
c3d_empty.frame(f);
c3d_empty.frame(f); // Why not adding a second frame?

// Print them to the console
c3d_empty.print();

For more information on how to set data from c3d accessors methods, please refer to the documentation on c3d.

Using the "non-const" reference

The second method is more designed for internal purpose. However, you may find yourself in situation where the normal method is just to long or restrictive for what you want to do. Then you can access directly the data via a reference. For example, you can add channels that way:

// Add a new analog to the c3d (one filled with zeros, the other one with data)
ezc3d::c3d c3d;

// Add a analog rate
ezc3d::ParametersNS::GroupNS::Parameter analog_rate("RATE");
analog_rate.set(1000.0);
c3d.parameter("ANALOG", analog_rate);

c3d.analog("new_analog1"); // Declare an empty channel (Note the name will be overridden)
std::vector<ezc3d::DataNS::Frame> frames_analog;
ezc3d::DataNS::Frame frame;
// Fill the frame
for (size_t sf = 0; sf < c3d.header().nbAnalogByFrame(); ++sf){
    ezc3d::DataNS::AnalogsNS::Channel newChannel;
    newChannel.data(sf+100);
    ezc3d::DataNS::AnalogsNS::SubFrame subframes_analog;
    subframes_analog.channel(newChannel);
    frame.analogs().subframe(subframes_analog); // The non-const reference makes it easier to add the subframe
}
c3d.frame(frame);

// Print it
c3d.print();

Please note that this method bypasses some protections and may create invalid C3D if not used properly.

Force platform filter

The standard for force platforms in C3D is pretty lax. Consequently, analyzing force platforms may be tricky.

To help the user, ezc3d include a force platform analyzer filter. So if one is interested by extracting some process data related, they may use the filter like so:

#include <vector>
#include "ezc3d/ezc3d_all.h"

int main()
{
    ezc3d::c3d c3d("my_c3d_with_force_plate_data.c3d");
    ezc3d::Modules::ForcePlatforms pf(c3d);

    // ...
    
    return 0;
}

From there, each platform can be separately extracted using the STL vector

  // ...

  const auto& pf_0 = pf.forcePlatform(0); // Select the first platform

  // ...

Metadata can be extracted and are pretty self-explanatory. The following list showcase what can be extracted:

    // ...
    
    pf_0.nbFrames();      // Number of frames
    pf_0.forceUnit();     // Units of forces
    pf_0.momentUnit();    // Units of moments
    pf_0.positionUnit();  // Units of center of pressure
    pf_0.calMatrix();     // Calibration matrix
    pf_0.corners();       // Position of the corners
    pf_0.origin();        // Position of the origin
    
    // ...

Finally, the data can be extracted by calling the method related the desired values

    // ...
    int desired_frame = 0;
    
    pf_0.forces()[desired_frame];   // Forces on the platform
    pf_0.moments()[desired_frame];  // Moments on the platform in global reference frame
    pf_0.CoP()[desired_frame];      // Center of pressure
    pf_0.Tz()[desired_frame];       // Moments expressed at the center of pressure

    // These STL vectors of Vector3d can easily converted to Matrix
    ezc3d::Matrix forces(pf_0.forces());

    // ...
}

Please note that the moments are transported to the ground plane using the ORIGIN parameter of the FORCE_PLATFORM group. This may or may not be what is expected (i.e., the C3D standard specifies that this is ultimately the choice of the manufacturer) with your data. If you know that this should not be done, you will need to compute the forces, moments, and center of pressure separately from the analog data.

Warning: Something important to remember is that there is no easy way to detect what is the upward vector. Consequently, ezc3d has to assume one. The most common being Z-axis pointing upward, this is what is assume. If one has a C3D with the Y-axis pointing upward, they must transform their data accordingly in order to use the force platform filter.

MATLAB

MATLAB (https://www.mathworks.com/) is a prototyping language largely used in industry and fairly used by the biomechanical scientific community. Despite the existence of Octave as an open-source and very similar language or the growing popularity of Python as a free and open-source alternative, MATLAB remains an important player as a programming languages. Therefore EZC3D comes with a binder for MATLAB (that can theoretically be used with Octave as well with some changes to the CMakeLists.txt file see the (Octave seciton)[#octave]).

MATLAB stands for MATrix LABoratory. As the name suggest, it is mainly used to perform operation on matrix. With that in mind, the binder was written to organize the point so it is easy to perform matrix multiplication on them. Hence, EZC3D works on MATLAB structure that separate the header, the parameter and the data. Into the header structure, you will find information on the points, the analogs and the events. Into the parameter, you will find all the groups and parameters as they appear in the C3D file. Finally, in the data, there is the points values organized into a 3d hypermatrix (XYZ x N_POINTS x N_FRAMES) and the analogs values organized into a 2d matrix (N_FRAMES x N_CHANNELS).

Create an empty yet valid C3D structure

To create a new valid yet empty C3D, just call the ezc3dRead without any argument.

c3d = ezc3dRead();
disp(c3d.parameters.POINT.USED.DATA); % Print the number of points used

Read a C3D

To read a C3D file you simply to call the ezc3dRead with the path to c3d as the first argument.

c3d = ezc3dRead('path_to_c3d.c3d');
disp(c3d.parameters.POINT.USED.DATA); % Print the number of points used

Additionally, a default ignoreBadFormatting flag can be set to true so files with bad formatting are read even though they are not formatted properly. This must be used with caution as it can result in segmentation fault, depending on the reason the formatting is bad.

Write a C3D

To write a C3D to a file, you must call the ezc3dWrite function. This function waits for the path of the C3D to write and a valid structure. Please note that the header is actually ignored since it is fully constructed from required parameters. Hence, a valid structure may omit the header. Still, for simplicity, it is easier to send a structure created via the ezc3dRead function.

% Create a valid structure to work on
c3d = ezc3dRead();

% Add a point to the structure. 
c3d.parameters.POINT.RATE.DATA = 100;
c3d.parameters.POINT.USED.DATA = c3d.parameters.POINT.USED.DATA + 1;
c3d.parameters.POINT.LABELS.DATA = [c3d.parameters.POINT.LABELS.DATA, 'NewMarkerName'];
c3d.data.points = rand(3,1,100);

% Write the C3D
ezc3dWrite('path_to_c3d.c3d', c3d);

Force platform filter

One can access the force platform if their C3D has such.

[c3d, all_pf] = ezc3dRead('my_c3d_with_force_plate_data.c3d');

pf_1 = all_pf(1); % Select the first platform

This gives you a structure containing information on the force platform and its data.

% ...

pf_1.unit_force             % Units of forces
pf_1.unit_moment            % Units of moments
pf_1.unit_position          % Units of center of pressure

pf_1.cal_matrix             % Calibration matrix
pf_1.corners                % Position of the corners
pf_1.origin                 % Position of the origin

pf_1.force                  % Force data
pf_1.moment                 % Moment data
pf_1.center_of_pressure     % Center of pressure data
pf_1.Tz                     % Moment at center of pressure data

% ...

Octave

Once upon a time, ezc3d was compatible with Octave. This compatibiliy was unfortunately removed as changes have been made to Octave which broke the compilation process. As I do not use Octave and do not know if anyone uses the Octave binding, I did not spend time trying to fix it and decide to remove it. If anyone is interested in supporting Octave again, be my guest!

Python 3

Python (https://www.python.org/) is a scripting language that has taken more and more importance over the past years. So much that now it is one of the preferred language of the scientific community. Its simplicity yet its large power to perform a large variety of tasks makes it a certainty that its popularity won't decrease for the next few years.

To interface the C++ code with Python, SWIG is a great tool. It very rapidly creates an interface in the target language with minimal code to write. However, the resulting code in the target language can be far from being easy to use. In effect, it gives a mixed-API not far from the original C++ language, which may not comply to best practices of the target language. Whilst this is useful to rapidly create an interface, it lacks user friendliness. EZC3D interfaces the C++ code using SWIG, but add a more pythonic layer on top of it. This top layer is not mandatory for the user (it is possible to call directly the SWIG interface via ezc3d.ezc3d instead of ezc3d.c3d), but the time lost to organize the data into a dictionary is insignificant compared to the ease of use this interface provides. I therefore strongly suggest to use this python interface.

Please note, to navigate the c3d structure provided by the interface, the easiest way is to use the attribute (using the autocompletion if your IDE allows it). As an alternative, you can access all the properties using the dictionary notation and get the keys using the keys() method since.

Create an empty yet valid C3D structure

To create a new valid yet empty C3D, just call the ezc3d.c3d() method without any argument.

from ezc3d import c3d
c = c3d()
print(c['parameters']['POINT']['USED']['value'][0]);  # Print the number of points used

Understanding the output

The c3d instance returned by the c3d('path_to_c3d.c3d') mimics the internal structure of a C3D, that is a header section, a parameters section and a data section. The header section is a standard read-only section and mostly contain redundant information with parameters. The parameters section is partly standard, partly based on the data of the file. If one wants to modify anything relating to the meta data of the c3d file, this is the section to modify. The data section is a standard section containing the data for the points, the analogs and the rotations.

To access the data, one can use the dictionary notation or the dot notation.

from ezc3d import c3d
c = c3d()
print(c['parameters']['POINT']['USED']['value'][0])
print(c.parameters.POINT.USED['value'][0])

The dictionary notation better reflects the internal structure of the C3D class, which makes it more reliable. However, it is less convenient to use as one needs to check the existing "keys" during programming. The dot notation is mostly an accessor to the dictionary notation.

Read a C3D

To read a C3D file you simply to call the ezc3d.c3d() with the path to c3d as the first argument.

from ezc3d import c3d
c = c3d('path_to_c3d.c3d')
print(c['parameters']['POINT']['USED']['value'][0]);  # Print the number of points used
point_data = c['data']['points']
points_residuals = c['data']['meta_points']['residuals']
analog_data = c['data']['analogs']

Please note that the shape of point_data is 4xNxT, where 4 represent the components XYZ1 (the 3D coordinates of the point add with a 1 so it can be used with homogeneous matrices), N is the number of points and T is the number of frames. Similarly, and to be consistent with the point shape, the shape of analog_data are 1xNxT, where 1 is the value, N is the number of analogous data and T is the number of frames. The meta_point dictionary contains information about the residuals as provided from the data acquisition system: residuals are the mean error of the point (a negative value meaning that the point is invalid, usually because of occlusion) and camera_masks being a collection of flags if the cameras had seen the point or not (unless specified in the parameter section, the cameras are the seven first, this collection of flags is limited to 7 boolean values). The dimensions of the former are 1xNxT and the dimensions of the latter are 7xNxT.

Additionally, a default c3d(..., ignore_bad_formatting=False) flag can be set to true so files with bad formatting are read even though they are not formatted properly. This must be used with caution as it can result in a segmentation fault, depending on the reason the formatting is bad.

Write a C3D

To write a C3D to a file, you must call the write method of a c3d dictionary. This method waits for the path of the C3D to write. Please note that the header is actually ignored since it is fully constructed from required parameters.

The example that follows constructs a new C3D from scratch, adding data and adding a custom parameter.

import numpy as np

import ezc3d

# Load an empty c3d structure
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)
c3d['data']['points'][1, :, :] = 2
c3d['data']['points'][2, :, :] = 3

c3d['parameters']['ANALOG']['RATE']['value'] = [1000]
c3d['parameters']['ANALOG']['LABELS']['value'] = ('analog1', 'analog2', 'analog3', 'analog4', 'analog5', 'analog6')
c3d['data']['analogs'] = np.random.rand(1, 6, 1000)
c3d['data']['analogs'][0, 0, :] = 4
c3d['data']['analogs'][0, 1, :] = 5
c3d['data']['analogs'][0, 2, :] = 6
c3d['data']['analogs'][0, 3, :] = 7
c3d['data']['analogs'][0, 4, :] = 8
c3d['data']['analogs'][0, 5, :] = 9

# Add a custom parameter to the POINT group
c3d.add_parameter("POINT", "newParam", [1, 2, 3])

# Add a custom parameter a new group
c3d.add_parameter("NewGroup", "newParam", ["MyParam1", "MyParam2"])

# Write the data
c3d.write("path_to_c3d.c3d")

Please note that the shape of point_data is 4xNxT, where 4 represent the components XYZ1 (the 3D coordinates of the point add with a 1 so it can be used with homogeneous matrices), N is the number of points and T is the number of frames. Similarly, and to be consistent with the point shape, the shape of analog_data are 1xNxT, where 1 is the value, N is the number of analogous data and T is the number of frames. The meta_point dictionary contains information about the residuals as provided from the data acquisition system: residuals are the mean error of the point (a negative value meaning that the point is invalid, usually because of occlusion, the default value is 0.0) and camera_masks being a collection of flags if the cameras had seen the point or not (unless specified in the parameter section, the cameras are the seven first, this collection of flags is limited to 7 boolean values, the default values are False for all the cameras). The dimensions of the former are 1xNxT and the dimensions of the latter are 7xNxT. If no meta_point are provided, the default values are used.

Force platform filter

One can access the force platform if their C3D has such.

import ezc3d
c3d = ezc3d.c3d('my_c3d_with_force_plate_data.c3d', extract_forceplat_data=True);

pf_0 = c3d["data"]["platform"][0]  # Select the first platform

As seen, this adds a dictionary in the data where are all the information and data are stored. The data are in numpy array format.

# ...

pf_0['unit_force']          # Units of forces
pf_0['unit_moment']         # Units of moments
pf_0['unit_position']       # Units of center of pressure

pf_0['cal_matrix']          # Calibration matrix
pf_0['corners']             # Position of the corners
pf_0['origin']              # Position of the origin

pf_0['force']               # Force data
pf_0['moment']              # Moment data
pf_0['center_of_pressure']  # Center of pressure data
pf_0['Tz']                  # Moment at center of pressure data

# ...

R

R (https://www.r-project.org/about.html) is a programming language popular for statistical analyses and data visualization.

The c3dr package (https://github.com/ropensci/c3dr) provides an R interface for EZC3D. For more details visit the package repository.

How to contribute

You are very welcome to contribute to the project! There are two main ways to contribute.

The first way is to actually code new features for EZC3D. The easiest way to do so is to fork the project, make the modifications and then open a pull request to the main project. Don't forget to add your name to the contributor in the documentation of the page if you do so!

The second way is to provide me with non-working C3D files (See the C3D Softwares section below for more details). There is another repository for test files in the pyomeca (https://github.com/pyomeca/ezc3d_c3dTestFiles). You can fork this project, add your C3D in according to the recommendations and pull request it. This will be greatly appreciated by me and the biomechanics community!

Using the test suite

EZC3D is tested with the test suite from google gtest (https://github.com/google/googletest).

If you want to add or change some tests, you are very welcome to do so (actually it makes me very happy!). You should compile EZC3D with the BUILD_TESTS options turned on. The google test suite should download itself automatically.

Afterwards, you can create a new test with the following function declaration

TEST(NameOfTestStructure, NameOfTest) {
  // Your test here...
}

You are invited to write tests for true positive, false positive, true negative and false negative using different combinations of EXPECT_EQ (or EXPECT_FLOAT_EQ if you compare float-precision numbers), EXPECT_NE, ASSERT_TRUE, EXPECT_THROW and EXPECT_NO_THROW. For a complete explanation of the google test suite, please refer to one of the numerous tutorials on the web.

I also implemented some useful functions such as compareHeader(myFirstC3d, mySecondC3d) and compareData(myFirstC3d, mySecondC3d) which strictly compares header and data respectively. If you expect differences though, these function are no use and you should copy-paste the content of them in your test (and change whatever is expected to be different). It is also possible to create a fully filled structure using the fillC3D(c3dTestStruct& c3dStruc, bool withPoints, bool withAnalogs) function and it can be tested with the defaultHeaderTest and defaultParametersTest function. Again, if you expect differences with the default setting, you should not use these default testing functions, but copy the relevant part in you extra test.

Running the tests

To run the test, navigate to the test folder in your build folder and run the ezc3d_test binary. Please note that if you are on Windows, you will have to copy all the necessary dll next to this binary.

Tests for the binders

If you add a new feature that exposes something to the user, you are welcomed to implement them in the binders (Matlab and Python).

Matlab

Running the tests for Matlab is as simple as running the tests script in {PATH_TO_EZC3D_ROOT_FOLDER}/test/python3. Please note that the PATH_TO_EZC3D_ROOT_FOLDER is the main folder (for instance downloaded from GitHub, and not the build folder); please also note that on Windows, you will have to copy the dll in the build folder.

Python

For Python, the tests should be run using pytest from the build directory with the following command: pytest -v {PATH_TO_EZC3D_ROOT_FOLDER}/test/python3. Please note that the PATH_TO_EZC3D_ROOT_FOLDER is the main folder (for instance downloaded from GitHub, and not the build folder); please also note that on Windows, you will have to copy the dll in the build folder.

Supported generated C3D

The software companies have loosely implemented the C3D standard proposed by http://C3D.org. Hence, there are some workaround that must be incorporated to the code to be able to read the C3D created using third-party softwares. So far, C3D from four different companies were tested. Vicon (https://www.vicon.com/), Qualisys (https://www.qualisys.com/), Optotrak (https://www.ndigital.com/msci/products/optotrak-certus/) and BTS Bioengineering (https://www.btsbioengineering.com/). But I am sure there is plenty of other obscure companies or simply cases that were not tested from these companies (simply because I don't have C3D to test). If you find yourself with a bug when trying to read a C3D that should work, please open an issue and provide me with the corresponding C3D (see How to contribute).

Documentation

EZC3D

The documentation is automatically generated using Doxygen (http://www.doxygen.org/). You can compile it yourself if you want (by setting BUILD_DOC to ON). Otherwise, you can access a copy of it that I try to keep up-to-date in the Documentation project of pyomeca (https://pyomeca.github.io/Documentation/) by selecting ezc3d or by directly accessing it (https://pyomeca.github.io/Documentation/ezc3d/index.html).

C3D format

The C3D format is maintained by http://c3d.org. They provide recommendation on how to implement reader/writer for the format. There is a copy of the documentation PDF in the doc folder. You are also welcome to have a look at a newer version if they ever create an update.

Support

Despite my efforts to make a bug-free library, EZC3D may fails sometimes. If it does, please refer to the section below to know what to do.

Report issues

In the event you are experiencing problems with EZC3D, please have a look in the known issues. If it doesn't help, you are probably experiencing a new bug, you are therefore very welcome to report it. The preferred way is to open an issue in the GitHub repository (https://github.com/pyomeca/ezc3d/issues). Please report the OS you are working on, the version of EZC3D you are using (if you have compiled yourself EZC3D, you will find the version number in the CMakeList.txt file, otherwise it is the version number of the binary you downloaded), and a precise description of what the problem is. Usually, the best description is to provide a non-working c3d file with the piece of code that fails and a copy of the error message. It may happen, for privacy reasons, that the c3d cannot be distributed. If it is the case, just state it as such, and I will reach out to you so we can find a solution.

Known issues

This section reports some issues that are likely to occur. I will fill it over time. Please have a look here before reporting, as it may help you fix your problem much faster.

Slow C3D opening

If you experience a slow C3D opening (more than 10 seconds), even for a huge C3D file. You may be in one of two cases.

First, make sure you are using EZC3D compiled with optimizations (RelWithDebInfo or Release). Indeed, the way C3D files are formatted implies back and fourth memory allocations between points and analogs. If the optimizations are turned off, it may take a little while to perform.

If you actually are using a released level of optimization, you may actually be experiencing a bug. You are therefore welcome to send me the long-to-open C3D file so I can optimize few things by myself. Everyone will benefit!

Non-working C3D

The C3D format allows for some pretty old and probably useless stuff. For example, you are allowed to store the points in the form of integers instead of floating points that you would scale afterwards. While it may have made sense many years ago, it is very unlikely anyone would need this nowadays. Hence, and because I did not have any examples of such C3D to test, I decided to ignore these features (you would know easily since the code raises a not implemented exception). However, at some point, for some reason, you may need these features. If so, you are welcomed to open an issue and to provide me with the non-working C3D. I will make my best to add the feature ASAP.

Moreover, as stated before, some (all?) companies were pretty loose in their implementation of the C3D standard. Actually, the standard itself states how much you don't need to follow it, which is kind of strange, to say the least. Because of that, entire sections that are supposed to be mandatory may be missing, or checksum may have the wrong value (these are real omissions...), or anything which hasn't happened yet may occurs. There is no way for me, of course, to know that in advance, hence these exceptions are not implemented yet. If you encounter such files (the exception raised may be of any nature, but the most probable is segmentation fault), again do not hesitate to open an issue and to provide me with the non-working C3D.

Cite

If you use EZC3D, we would be grateful if you could cite it as follows:

@article{michaudBiorbd2021,
  title = {ezc3d: An easy C3D file I/O cross-platform solution for {{C}}++, {{Python}} and {{MATLAB}}},
  shorttitle = {ezc3d},
  author = {Michaud, Benjamin and Begon, Mickaël},
  date = {2021-02-21},
  journaltitle = {Journal of Open Source Software},
  volume = {6},
  pages = {2911},
  issn = {2475-9066},
  doi = {10.21105/joss.02911},
  url = {https://joss.theoj.org/papers/10.21105/joss.02911},
  urldate = {2021-02-21},
  abstract = {Michaud et al., (2021). ezc3d: An easy C3D file I/O cross-platform solution for C++, Python and MATLAB. Journal of Open Source Software, 6(58), 2911, https://joss.theoj.org/papers/10.21105/joss.02911},
  langid = {english},
  number = {58}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ezc3d-1.6.3.tar.gz (49.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ezc3d-1.6.3-pp310-pypy310_pp73-win_amd64.whl (713.0 kB view details)

Uploaded PyPyWindows x86-64

ezc3d-1.6.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

ezc3d-1.6.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl (907.4 kB view details)

Uploaded PyPymacOS 11.0+ ARM64

ezc3d-1.6.3-pp310-pypy310_pp73-macosx_10_15_x86_64.whl (1.0 MB view details)

Uploaded PyPymacOS 10.15+ x86-64

ezc3d-1.6.3-cp313-cp313-win_amd64.whl (715.9 kB view details)

Uploaded CPython 3.13Windows x86-64

ezc3d-1.6.3-cp313-cp313-win32.whl (678.2 kB view details)

Uploaded CPython 3.13Windows x86

ezc3d-1.6.3-cp313-cp313-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

ezc3d-1.6.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

ezc3d-1.6.3-cp313-cp313-macosx_11_0_arm64.whl (908.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

ezc3d-1.6.3-cp313-cp313-macosx_10_13_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

ezc3d-1.6.3-cp312-cp312-win_amd64.whl (715.8 kB view details)

Uploaded CPython 3.12Windows x86-64

ezc3d-1.6.3-cp312-cp312-win32.whl (678.7 kB view details)

Uploaded CPython 3.12Windows x86

ezc3d-1.6.3-cp312-cp312-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

ezc3d-1.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

ezc3d-1.6.3-cp312-cp312-macosx_11_0_arm64.whl (909.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

ezc3d-1.6.3-cp312-cp312-macosx_10_13_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12macOS 10.13+ x86-64

ezc3d-1.6.3-cp311-cp311-win_amd64.whl (714.3 kB view details)

Uploaded CPython 3.11Windows x86-64

ezc3d-1.6.3-cp311-cp311-win32.whl (677.5 kB view details)

Uploaded CPython 3.11Windows x86

ezc3d-1.6.3-cp311-cp311-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

ezc3d-1.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

ezc3d-1.6.3-cp311-cp311-macosx_11_0_arm64.whl (908.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

ezc3d-1.6.3-cp311-cp311-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

ezc3d-1.6.3-cp310-cp310-win_amd64.whl (714.0 kB view details)

Uploaded CPython 3.10Windows x86-64

ezc3d-1.6.3-cp310-cp310-win32.whl (677.4 kB view details)

Uploaded CPython 3.10Windows x86

ezc3d-1.6.3-cp310-cp310-musllinux_1_2_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

ezc3d-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

ezc3d-1.6.3-cp310-cp310-macosx_11_0_arm64.whl (908.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

ezc3d-1.6.3-cp310-cp310-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

File details

Details for the file ezc3d-1.6.3.tar.gz.

File metadata

  • Download URL: ezc3d-1.6.3.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3.tar.gz
Algorithm Hash digest
SHA256 086705dcf8877d29d59a9b19de774ce7af841a1c3863d4505287ee1fc8d1ec37
MD5 5dc1e5f07f17093c6cb495f595c33de9
BLAKE2b-256 24f9317da5fe5f2fe0b53ed42be6dfea963b9dbb2401e4e17f3e2a2e812030ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3.tar.gz:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 2c606d2d86edf465a349e71309bbb847d395bdba1dca26482f525e0c44ed35bc
MD5 f4dfca009f19f6d2c013dae1716793f7
BLAKE2b-256 9602cff7bed1a15413d89cdf625d46fad193f93f1275a9c430dabecc545a57a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-pp310-pypy310_pp73-win_amd64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 270bf15d1712ce2f1e2fdda66e8b0ad661411d6b57016ea8a93b58cfb77264b2
MD5 67f4d64c5e43a2c037cde6b94494e6f6
BLAKE2b-256 1123cc6bec8d23db507d09ad1fd2397c287e3868f95c8ffc203d438a37bd2684

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eac2304d66bbc3db5bb0dc02fefdf983779f7f99409c03ba4c97acde5ea5bccf
MD5 136e9e03985c14fbb384ba955c0828b6
BLAKE2b-256 e41682e57867341675984b747d2fedf49fa7a353ac3432e80afddb7a82401e52

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-pp310-pypy310_pp73-macosx_11_0_arm64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-pp310-pypy310_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-pp310-pypy310_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 be3616c162f396d0e1d7d4b5f8e4986694f4f96c462256079162076018bca53a
MD5 62d8109a9304fceeed882fbb0ea16846
BLAKE2b-256 87c3a4638c0d6ee5dbfbdefb28e37ad3b9d960063e102249040797f39455190f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-pp310-pypy310_pp73-macosx_10_15_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 715.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e8d4f378acc0979e8834e0b202f58767028e28b51566036e2d669d03a7c59f3b
MD5 04affdc38c69df87e4fe3d966181bb40
BLAKE2b-256 12c00f261c3ca104a2a21869f55c3bcf18296b7d3e8d3c42760c670cca5e6f33

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp313-cp313-win_amd64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp313-cp313-win32.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp313-cp313-win32.whl
  • Upload date:
  • Size: 678.2 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 c6a2d4b69fd85078f5fc15ddf5de2e987ced85320a1315fe015241094e81ef5a
MD5 d32cc84bf831009293f43872fdf0c948
BLAKE2b-256 caa9043aee2bfa462f02e9121e70dec26c64a01a514813ace8e9dd2eb042396d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp313-cp313-win32.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2539e87da583190049571c8d119836ce71af89b3344143ce8f78183022941173
MD5 c03e2415236b4e20615f4434f85ce0f3
BLAKE2b-256 68575f87eb2e14fbe38c4aeed7b2f2348d0cb9be62f147d0b91794d74fb693c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4b242f2460a69f09a0fd8ce5fa2bd13d43701051b6477cc373dfc7fb5a16000d
MD5 b7ac15045344581023f29ad9a771acea
BLAKE2b-256 a239d94b45740d9ba713771155f819fa96e1749eab62c85670d297307ae3b13f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c7209224a479abddf5c45b2e505515ff2c9cd7d34a97d27ffc21e0a71aa92395
MD5 05484289bf170e4a35a681429ee5238b
BLAKE2b-256 9804b2ab2ad953c92dd0841aa6e9873db7d66df8990d77c584debb9e3246c62c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5980a882a22e92fad238576feed0c2c98711d6538a137aaecf38cadbb84c0325
MD5 332c9085f11a4cdffb6c3e574ae2ff54
BLAKE2b-256 653fda42945599eb9212856f12f292f847df7495df9cdb9083df226fa9526638

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp313-cp313-macosx_10_13_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 715.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 807cd301bd73368f4f448fc2005baf3e96ee116c6b0a61beaacac15a9c44bc45
MD5 3530b6bedce92d7716d9dc1dafadd987
BLAKE2b-256 c885ff094e98106a9004623b91eef4f12ac6d6f263972dc948ff23d62feb5c3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp312-cp312-win_amd64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp312-cp312-win32.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp312-cp312-win32.whl
  • Upload date:
  • Size: 678.7 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 c152b15c184291ad288b48e568f55831fd7aeef56b9d3a51e8ccc2fe7fd29bbd
MD5 7fedbcdf554822771dc3c4535aadf5e8
BLAKE2b-256 1b5eeb16773e1e342f41490b9bb31ae96c165c96bb68a41c2926cb6fa1b827b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp312-cp312-win32.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f4c014ffbbf8c2f45dfa16b40d9beacb940b382b0e5abb5140422dd550f90264
MD5 02475b2f4f38fcff3da4452cfa8c5a14
BLAKE2b-256 e159d2234190e9cbb561f4b6e9d37ee8ab557dc551fffa6a6a770f46d7c1008e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68cd0fa4e85afabf8096057528439da1abd0c4f3ffbdf5846beeae1c893c58e9
MD5 3a7a4aa3217eb45474475a4341e79c77
BLAKE2b-256 43185e80c9dee289f10047eb40b00a6a3c013a0c84f810695c8f5d7b3a65af1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5c49870a7dfd446d4b1cdbb5976ef668339643df7d72bd5db874e877b8fbbdf
MD5 d0ef1976cd405114cb4aa8548e9b4d41
BLAKE2b-256 d9a94b649b3af0031f4729a5b7c42d239eb5c0120596ec3107dcdc1a35f798e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp312-cp312-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp312-cp312-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 05e7597a0d66efa0ab41445ac3a708144c09ac76e3bbfa12ec5d8d4e633e4b7c
MD5 f1947a8661d927234e0fdc9499f46b66
BLAKE2b-256 b8c56612fb8c84888bb2183d6375fb2bc07ca5fe1c09429baf1e672c5d3d7ce4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp312-cp312-macosx_10_13_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 714.3 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 39b00b863cc0c7ba29fd489365af531a62ae9c223903e849fcc569cf5791b593
MD5 cfb97ab7c54fda9ba6dd861437a64391
BLAKE2b-256 2d5e1941d4b9cb5e5276b1fcbda0611f38c345aca20cbc8377dd3c7bfbd49a4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp311-cp311-win_amd64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp311-cp311-win32.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp311-cp311-win32.whl
  • Upload date:
  • Size: 677.5 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 a1f1867a8fce4b1f83ccd45af4f93fe8d2e0651619bc2b2f11c8742b93a0d506
MD5 775b1d234f1d0625a5cfba823c104bbb
BLAKE2b-256 9e4aced5c52146f9a2f3405d343400bcc516b53602e4f1616f42682171ab63fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp311-cp311-win32.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e2f917203bab36531d093d22aed30b337e102d71019e101535c8278de8f9e9fc
MD5 d85d7c65483c9871df941890a7ea5fb4
BLAKE2b-256 023d705291369cd79a068a20e930e694063859a57b316d5d4bd904ec4607bfe5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f651709390f396dfc1b39d05de0d10ae61f29de44a2a8635e684e26debd4513d
MD5 2c825a322cf12f5f62731647797b35c0
BLAKE2b-256 70f6b21e0f04b0be2414421f3afecccbe88619511352ed14a6f22a6109334897

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a052457db74529fe5b8a4afd0d420a769b5223881ed33297a01386c0ce92fde
MD5 c229cf9805a7b4a295c7ee22859b9265
BLAKE2b-256 ef50bf0e3aeede93bd477cf32a8f626906e9a87725fdbe7cb9b0b5e161af22fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 94f6ba8d263ca9e1529961ec4f20e25372a82ca062676d35ddeb091df6494b35
MD5 1a5f1639a099149779efe179181ad285
BLAKE2b-256 e9df09bb8f968cd116c3217a6204ad9e18c16c1eb28dc6b6d83e1cb5531e5613

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp311-cp311-macosx_10_9_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 714.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ea748af963b9a7a85189cee25b3ca9e8b53effb2e4b57d1c25764dfae9d81388
MD5 7411621281fc6b2f8094fe1b6c6c1915
BLAKE2b-256 0df4668660a39f8940c7c0ebe5aac783f3877f07363de02689a0e9bf7d45dc77

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp310-cp310-win_amd64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp310-cp310-win32.whl.

File metadata

  • Download URL: ezc3d-1.6.3-cp310-cp310-win32.whl
  • Upload date:
  • Size: 677.4 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ezc3d-1.6.3-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 a7f2c98ac2a90fdfbe85d51ac816268cf977cd698440b587e4cc386e2287f3a5
MD5 b08e15c0159fa8be37083dd01b8c2603
BLAKE2b-256 e3e8468e8b83e861021aedd1477cdfdd582420e5742db457952c5e16e8f0f7fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp310-cp310-win32.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4b82059b98e07d6b210e8dd5e9eca39020c9e1744acabc9b9861813dc9869d94
MD5 5fb1609ecc4e1429cef4a7eb33128180
BLAKE2b-256 3537777162773798f0fa411b07c9932d2adfe2b0a2c3c8ca3ffcc66442eb36ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp310-cp310-musllinux_1_2_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6210b053b6491c7e1e549a679f7e979ff76e509a3fa98ae6e97f71afca5305c
MD5 3294dca7dbf32c554ac9ff7e1c6d19b8
BLAKE2b-256 fa9b158858e4815159e1af68808d2050015fccd099d1f9f8f2b85cc8a60257e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f2d5fb2df2dff67265a8434de9c9f5ce001dd828f4f9321d32f4ed1bcbea19d
MD5 f0b0d00b4b58f101987369b1cb78abbb
BLAKE2b-256 bb44c8aa5a150f0673b1958938a048984fedcb1cbf126c783db83cfbd9c5af2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ezc3d-1.6.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for ezc3d-1.6.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 365ee7b1066c02a4e3996105ded6338fd9b8b36e636d97d5c3fa620d9425a3ec
MD5 dce8a03ab247e2f2d1f3886b11873d46
BLAKE2b-256 1c2fdfb4accebde186f589e58b139442b4e1f3ff178d145a98888146e83234fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for ezc3d-1.6.3-cp310-cp310-macosx_10_9_x86_64.whl:

Publisher: publish_to_pypi.yml on pyomeca/ezc3d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page