Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for writing .trc files #5

Merged
merged 4 commits into from
Mar 31, 2020
Merged

Conversation

halleysfifthinc
Copy link
Owner

writetrc(filename, f; <keyword arguments>)

Write the C3DFile f to a .trc format at filename.

Keyword arguments

  • delim::Char='\t': The text delimiter to use
  • strip_prefixes::Bool=true: Strip marker label prefixes if they exist
  • subject::String="": The subject (among multiple subjects) in the C3DFile to write
  • prefixes::Vector{String}=[subject]: Marker label prefixes to strip if
    strip_prefixes == true
  • remove_unlabeled_markers::Bool=true: Remove markers with empty labels, labels
    matching r"(\*\d+|M\d\d\d)"
  • lab_orientation::Matrix=Matrix(I, (3,3)): Rotation to apply to markers before writing
  • precision::Int=6: Number of decimal places to print
  • virtual_markers::Dict{String,Matrix}: (Optional) Virtual markers (calculated with markers
    from f) to write to the .trc file

@halleysfifthinc halleysfifthinc merged commit e9e15f4 into master Mar 31, 2020
@halleysfifthinc halleysfifthinc deleted the add-write-trc branch March 31, 2020 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant