Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

findBadData automatically detects noise or bad data across selected channels.

findBadData is a sophisticated Shogun sophisticated Shogun Post function that provides automatic noise identification. In automated script functions, you can call out a series of separate findBadData operations, each with varying parameters.

...

NameFlag argumentsArgument typeExclusive toComments
all0rangesSelect all keys in the play range that are potentially "bad".
ranges0allSelect all keys in selected time ranges that are potentially "bad".
select2integerSelect the indicated [int] number of keys on either side of each bad key found.

Return value

void

Examples

Code Block
languagetext
select LFWT;

...


findBadData -all -select 1 1 5 0.1 35;

...


// This execution of the findBadData command will effectively 

...


// use the filter settings 0.1 [cutoff frequency] and 35 [threshold]

...


// to identify noisy segments within the entire frame range of the

...


// translation properties of the LFWT Marker node. Further, a

...


// findBadData threshold of 5 (a value that expresses a variance

...


// allowance from the provisionally filtered curve) will refine

...


// the filter selection. The '-select 1 1' option adds 1 keyframe on

...


// the front and 1 on the end of each noisy segment that is identified.

...


// To increase the number of keys selected in this instance, decrease

...


// the value of the findBadData threshold. Lowering the threshold will

...


// loosen the tolerance and increasing the value will tighten the 

...

// tolerance.

Additional information

Related commands

...