SelectTimePoints¶
-
MacroModule
¶ genre Image
author Kai Geissler
package FMEstable/ReleaseMeVis
definition SelectTimePoints.def keywords select
,time
,point
,4d
,dynamic
Purpose¶
This module is meant to select a subset of desired time points from an image with several time points in the t dimension. It can do the selection based on absolute time points or indices.
Usage¶
Connect the input image to the input field, provide the list of desired time points as coma separated field in Wanted Timepoints
and press update.
If you want to do the selection based on indices, set Choose Timepoints by Index
to True and provide a coma separated list of indices to Wanted Timepoints
.
Details¶
When provided with a list of timepoints in seconds this module will iterate over the list of wanted timepoints and greedily pick the closest available timepoint of the input image. It will not pick the same timepoint twice. To ensure the right order of timepoints, they are sorted after the greedy selection. If more timepoints are selected than are available in the input image, they will be filled up with 0 images to ensure the right number of timepoints.
If Choose Timepoints by Index
is True, the timepoints corresponding the respective indices are selected. If indices are selected which are not available in the input image, they will be filled up with 0 images.
Output Fields¶
Parameter Fields¶
Field Index¶
[] : Trigger |
Status Code : Enum |
Choose Timepoints by Index : Bool |
Status Message : String |
Chosen Indices : String |
Update : Trigger |
Chosen Timepoints : String |
Wanted Timepoints : String |
Clear : Trigger |
|
doNotClearOnFailedUpdate : Bool |
|
Has Valid Output : Bool |
|
On Input Change Behavior : Enum |
Visible Fields¶
Wanted Timepoints¶
-
name:
inWantedTimepoints
, type:
String
, deprecated name:
chooseList,inChooseList
¶ Coma separated list of timepoints in seconds (or indices, if
Choose Timepoints by Index
is True)
Choose Timepoints by Index¶
-
name:
inChooseTimePointsByIndex
, type:
Bool
, default:
FALSE
, deprecated name:
useListAsIndex
¶ Use
Wanted Timepoints
as timepoint indices (instead of timepoints in seconds)
Chosen Indices¶
-
name:
outChosenIndices
, type:
String
, persistent:
no
, deprecated name:
chosenList
¶ Timepoints that were actually chosen
Chosen Timepoints¶
-
name:
outChosenTimepoints
, type:
String
, persistent:
no
¶ Timepoints in seconds that were actually chosen
On Input Change Behavior¶
-
name:
onInputChangeBehavior
, type:
Enum
, default:
Clear
, deprecated name:
shouldAutoUpdate,shouldUpdateAutomatically
¶ Declares how the module should react if a value of an input field changes.
Values:
Title | Name | Deprecated Name |
---|---|---|
Update | Update | TRUE |
Clear | Clear | FALSE |
[]¶
-
name:
updateDone
, type:
Trigger
, persistent:
no
¶ Notifies that an update was performed (Check status interface fields to identify success or failure).
Has Valid Output¶
-
name:
hasValidOutput
, type:
Bool
, persistent:
no
¶ Indicates validity of output field values (success of computation).
Status Code¶
-
name:
statusCode
, type:
Enum
, persistent:
no
¶ Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.
Values:
Title | Name |
---|---|
Ok | Ok |
Invalid input object | Invalid input object |
Invalid input parameter | Invalid input parameter |
Internal error | Internal error |