C3D.readc3d
— Methodreadc3d(fn)
Read the C3D file at fn
.
Keyword arguments
paramsonly::Bool = false
: Only reads the header and parametersvalidateparams::Bool = true
: Validates parameters against C3D requirementsmissingpoints::Bool = true
: Sets invalid points tomissing
C3D.writetrc
— Methodwritetrc(filename, f; <keyword arguments>)
Write the C3DFile f
to a .trc format at filename
.
Keyword arguments
delim::Char='\t'
: The text delimiter to usestrip_prefixes::Bool=true
: Strip marker label prefixes if they existsubject::String=""
: The subject (among multiple subjects) in the C3DFile to writeprefixes::Vector{String}=[subject]
: Marker label prefixes to strip ifstrip_prefixes == true
remove_unlabeled_markers::Bool=true
: Remove markers with empty labels, labels matchingr"(\*\d+|M\d\d\d)"
lab_orientation::Matrix=Matrix(I, (3,3))
: Rotation to apply to markers before writingprecision::Int=6
: Number of decimal places to printvirtual_markers::Dict{String,Matrix}
: (Optional) Virtual markers (calculated with markers fromf
) to write to the .trc file