User Tools

Site Tools


visual3d:documentation:definitions:multisubject

This is an old revision of the document!


if you are collecting data for one subject with multiple static trials, go here for more information]]. * this documentations refers mostly using the multi-subject workspace with two subjects, however, you can use as many subjects as you would like. ===== model tab ===== |all_subjects, no_subject, subject prefixes\\ \\ * all_subjects\\ * allows you to view all segments with subject prefixes\\ * no_subject\\ * allows you to view all segments not associated with a subject prefix (ex. lab)\\ * subject prefixes\\ * allows you to view all segments associated with that subject prefix | multisb.png| ===== important terms ===== |**subject prefix**: in the c3d file, there is a parameter to specify the subject prefix.\\ \\ * this should be specified by your motion capture system.\\ * the subject prefixes can be different from c3d file to c3d file | c3dsubjectprefixes.png| |**subject tag**: a subject tag associates a generic name to a subject prefix.\\ \\ * model -> add/modify subject tags\\ * can be set using select_active_file | subjecttags.png| ===== pipeline ===== the first step to writing a pipeline is to assign a subject tag to a subject prefix using the [[visual3d:documentation:pipeline:model_commands:set_subject_tag|set_subject_tag]] command. this is important since a subject prefix can be different for each data collection (ex. "s001:", "s002:"). the subject tag should be something general (ex. "pitcher", "catcher"). once the subject tags have been defined, you can use the subject tags the same as you would a file tag using the [[visual3d:documentation:pipeline:file_commands:select_active_file#subject_tags|select active file]] command. as with single subject files, the resulting pipeline commands will work on the active subject tags that were specified in the select active file command ==== important pipeline commands ==== pipeline commands that are specifically important for multi-subject data or have been modified for this new feature include: * [[visual3d:documentation:pipeline:model_commands:set_subject_tag|set_subject_tag]]: sets subject tags for specific files * [[visual3d:documentation:pipeline:file_commands:select_active_file#subject_tags|select_active_file#subject_tags]]: use subject tags to precisely specify your active files * [[visual3d:documentation:pipeline:file_commands:modify_c3d_subjects_parameters|modify_c3d_subjects_parameters]]: modify the parameters in the subjects group in the c3d file ===== examples ===== ==== building multi-subject models ==== load video youtube youtube might collect personal data. [[https://www.youtube.com/howyoutubeworks/user-settings/privacy/|privacy policy]] continue dismiss building a model template is the same for two subjects as it is for one subject. create one model template for each marker set. you can apply and append model templates to different subjects. \\ ==== computing model-based items for multi-subject data ==== load video youtube youtube might collect personal data. [[https://www.youtube.com/howyoutubeworks/user-settings/privacy/|privacy policy]] continue dismiss \\ the compute model-based command works the same for multiple subjects as it always has for single subjects, but now also allows the customer to use [[visual3d:documentation:definitions:subject_tags|subject_tags]] to identify when signals should be calculated for every subject in the model, between subjects, etc.\\ \\ note: segment a and segment b tag refer to the segment tag, or reference segment or resolution coordinate system.\\ \\ **case 1:**\\ signal created for all subjects. ex. rkneeangle\\ subject tag: all_subjects\\ segment a tag: all_subjects\\ segment b tag: all_subjects\\ \\ **case 2:**\\ signal created for all subjects relative to a segment that is only created in no_subect (ex. subject's foot relative to generic segment box).\\ subject tag: all_subjects\\ segment a tag: all_subjects\\ segment b tag: no_subject\\ \\ **case 3:**\\ signal created for one subject between segments that exist in that subject.\\ subject tag: subject_tag_name\\ segment a tag: subject_tag_name\\ segment b tag: subject_tag_name\\ \\ **case 4:**\\ signal created for one subject relative to another subject.\\ subject tag: subject_tag_name\\ segment a tag: subject_tag_name\\ segment b tag: different_subject_tag_name\\ \\ }}}}

visual3d/documentation/definitions/multisubject.1718804136.txt.gz · Last modified: 2024/06/19 13:35 by sgranger