Simple Timepoints Stitcher (v1.2)

About this version

About this app (See raw metadata.json)

Stitches a sequence of TimePoint annotations into a sequence of TimeFrame annotations, performing simple smoothing of short peaks of positive labels.

Inputs

(Note: “*” as a property value means that the property is required but can be any value.)

One of the following is required: [

]

  • http://mmif.clams.ai/vocabulary/TimePoint/v4 (required)

    TimePoint annotations to be stitched. Must be “exhaustive” in that it should cover an entire single time period in the input document, with a uniform sample rate.

    • timePoint = “*”
    • classification = “*”

Configurable Parameters

(Note: Multivalued means the parameter can have one or more values.)

Name Description Type Multivalued Default Choices
labelMap mapping of labels in the input annotations to new labels. Must be formatted as “IN_LABEL:OUT_LABEL” (with a colon). To pass multiple mappings, use this parameter multiple times. By default, all the input labels are passed as is, including any “negative” labels (with default value being no remapping at all). However, when at least one label is remapped, all the other “unset” labels are discarded asa negative label(“-“). map Y []  
minTFDuration minimum duration of a TimeFrame in milliseconds integer N 1000  
minTPScore minimum score of a TimePoint to be considered as positive number N 0.1  
minTFScore minimum average score of TimePoints in a TimeFrame to be considered as positive number N 0.5  
pretty The JSON body of the HTTP response will be re-formatted with 2-space indentation boolean N false false, true

Outputs

(Note: “*” as a property value means that the property is required but can be any value.)

(Note: Not all output annotations are always generated.)

  • http://mmif.clams.ai/vocabulary/TimeFrame/v5

    Stitched TimeFrame annotations. Each TimeFrame annotation represents a continuous segment of timepoints and its label property is determined by the labelMap parameter (see parameters section). The representatives is a singleton list of the TimePoint annotation that has the highest score in the TimeFrame.

    • timeUnit = “milliseconds”
    • label = “*”
    • representatives = “*”