1
|
<?xml version="1.0" standalone="no"?>
|
2
|
<!DOCTYPE entity PUBLIC "-//UC Berkeley//DTD MoML 1//EN"
|
3
|
"http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd">
|
4
|
<entity name="03-ImageDisplayTest" class="ptolemy.actor.TypedCompositeActor">
|
5
|
<property name="_createdBy" class="ptolemy.kernel.attributes.VersionAttribute" value="8.0.beta">
|
6
|
</property>
|
7
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={7, 33, 1017, 709}, maximized=false}">
|
8
|
</property>
|
9
|
<property name="_vergilSize" class="ptolemy.actor.gui.SizeAttribute" value="[686, 538]">
|
10
|
</property>
|
11
|
<property name="_vergilZoomFactor" class="ptolemy.data.expr.ExpertParameter" value="1.0">
|
12
|
</property>
|
13
|
<property name="_vergilCenter" class="ptolemy.data.expr.ExpertParameter" value="{343.0, 214.0}">
|
14
|
</property>
|
15
|
<property name="DocAttribute" class="ptolemy.vergil.basic.DocAttribute">
|
16
|
<property name="description" class="ptolemy.data.expr.StringParameter" value="This workflow reads an image file in JPEG format from a local file on disk, converts it to PNG format, and displays the result.">
|
17
|
</property>
|
18
|
<property name="author" class="ptolemy.kernel.util.StringAttribute" value="Matt Jones">
|
19
|
</property>
|
20
|
</property>
|
21
|
<property name="SDF Director" class="ptolemy.domains.sdf.kernel.SDFDirector">
|
22
|
<property name="iterations" class="ptolemy.data.expr.Parameter" value="1">
|
23
|
</property>
|
24
|
<property name="vectorizationFactor" class="ptolemy.data.expr.Parameter" value="1">
|
25
|
</property>
|
26
|
<property name="allowDisconnectedGraphs" class="ptolemy.data.expr.Parameter" value="false">
|
27
|
</property>
|
28
|
<property name="allowRateChanges" class="ptolemy.data.expr.Parameter" value="false">
|
29
|
</property>
|
30
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="true">
|
31
|
</property>
|
32
|
<property name="period" class="ptolemy.data.expr.Parameter" value="0.0">
|
33
|
</property>
|
34
|
<property name="synchronizeToRealTime" class="ptolemy.data.expr.Parameter" value="false">
|
35
|
</property>
|
36
|
<property name="timeResolution" class="ptolemy.actor.parameters.SharedParameter" value="1E-10">
|
37
|
</property>
|
38
|
<property name="Scheduler" class="ptolemy.domains.sdf.kernel.SDFScheduler">
|
39
|
<property name="constrainBufferSizes" class="ptolemy.data.expr.Parameter" value="constrainBufferSizes">
|
40
|
</property>
|
41
|
</property>
|
42
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
43
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
44
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Steve Neuendorffer</configure></property>
|
45
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
46
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure> <p>The SDF Director is often used to oversee fairly simple, sequential workflows in which the director can determine the order of actor invocation from the workflow. Types of workflows that would run well under an SDF Director include processing and reformatting tabular data, converting one data type to another, and reading and plotting a series of data points. A workflow in which an image is read, processed (rotated, scaled, clipped, filtered, etc.), and then displayed, is also an example of a sequential workflow that requires a director simply to ensure that each actor fires in the proper order (i.e., that each actor executes only after it receives its required inputs).</p> <p>The SDF Director is very efficient and will not tax system resources with overhead. However, this efficiency requires that certain conditions be met, namely that the data consumption and production rate of each actor in an SDF workflow be constant and declared. If an actor reads one piece of data and calculates and outputs a single result, it must always read and output a single token of data. This data rate cannot change during workflow execution and, in general, workflows that require dynamic scheduling and/or flow control cannot use this director. Additionally, the SDF Director has no understanding of passing time (at least by default), and actors that depend on a notion of time may not work as expected. For example, a TimedPlotter actor will plot all values at time zero when used in SDF. </p> <p>By default, the SDF Director requires that all actors in its workflow be connected. Otherwise, the director cannot account for concurrency between disconnected workflow parts. Usually, a PN Director should be used for workflows that contain disconnected actors; however, the SDF Director's allowDisconnectedGraphs parameter may also be set to true. The SDF Director will then schedule each disconnected "island" independently. The director cannot infer the sequential relationship between disconnected actors (i.e., nothing forces the director to finish executing all actors on one island before firing actors on another). However, the order of execution within each island should be correct. Usually, disconnected graphs in an SDF model indicate an error.</p> <p>Because SDF Directors schedule actors to fire only after they receive their inputs, workflows that require loops (feeding an actor's output back into its input port for further processing) can cause "deadlock" errors. The deadlock errors occur because the actor depends on its own output value as an initial input. To fix this problem, use a SampleDelay actor to generate and inject an initial input value into the workflow.</p> <p>The SDF Director determines the order in which actors execute and how many times each actor needs to be fired to complete a single iteration of the workflow. This schedule is calculated BEFORE the director begins to iterate the workflow. Because the SDF Director calculates a schedule in advance, it is quite efficient. However, SDF workflows must be static. In other words, the same number of tokens must be consumed/produced at every iteration of the workflow. Workflows that require dynamic control structures, such as a BooleanSwitch actor that sends output on one of two ports depending on the value of a 'control', cannot be used with an SDF Director because the number of tokens on each output can change for each execution.</p> <p>Unless otherwise specified, the SDF Director assumes that each actor consumes and produces exactly one token per channel on each firing. Actors that do not follow the one-token-per-channel firing convention (e.g., Repeat or Ramp) must declare the number of tokens they produce or consume via the appropriate parameters. </p> <p>The number of times a workflow is iterated is controlled by the director's iterations parameter. By default, this parameter is set to "0". Note that "0" does not mean "no iterations." Rather, "0" means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. A value of 1, meaning that the director will run the workflow once, is often the best setting when building an SDF workflow. </p> <p>The amount of data processed by an SDF workflow is a function of both the number of times the workflow iterates and the value of the director's vectorizationFactor parameter. The vectorizationFactor is used to increase the efficiency of a workflow by increasing the number of times actors fire each time the workflow iterates. If the parameter is set to a positive integer (other than 1), the director will fire each actor the specified number of times more than normal. The default is 1, indicating that no vectorization should be performed. Keep in mind that changing the vectorizationFactor parameter changes the meaning of a nested SDF workflow and may cause deadlock in a workflow that uses it. </p> <p>The SDF Director has several advanced parameters that are generally only relevant when an SDF workflow contains composite components. In most cases the period, timeResolution, synchronizeToRealTime, allowRateChanges, timeResolution, and constrainBufferSizes parameters can be left at their default values.</p> <p>For more information about the SDF Director, see the Ptolemy documentation (http://ptolemy.eecs.berkeley.edu/papers/05/ptIIdesign3-domains/ptIIdesign3-domains.pdf).</p> </configure></property>
|
47
|
<property name="prop:allowDisconnectedGraphs" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether to allow disconnected actors in the workflow (by default, all actors are required to be connected). If disconnected actors are permitted, the SDF Director will schedule each disconnected 'island' independently. Nothing "forces" the director to finish executing all actors on one island before firing actors on another. However, the order of execution within each island should be correct. Usually, disconnected graphs in an SDF workflow indicate an error.</configure></property>
|
48
|
<property name="prop:allowRateChanges" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether dynamic rate changes are permitted or not. By default, rate changes are not permitted, and the director will perform a check to disallow such workflows. If the parameter is selected, then workflows that require rate parameters to be modified during execution are valid, and the SDF Director will dynamically compute a new schedule at runtime. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
49
|
<property name="prop:constrainBufferSizes" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether buffer sizes are fixed. By default, buffers are fixed, and attempts to write to the buffer that cause the buffer to exceed its scheduled size result in an error. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
50
|
<property name="prop:timeResolution" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The time precision used by this director. All time values are rounded to the nearest multiple of this number. The value is a double that defaults to "1E-10" (which is 10-10). This is an advanced parameter that can usually be left at its default value.</configure></property>
|
51
|
<property name="prop:iterations" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify the number of times a workflow is iterated. By default, this parameter is set to "0". Note that "0" does not mean "no iterations." Rather, "0" means that the workflow will iterate forever. Values greater than zero specify the actual number of times the director should execute the entire workflow. A value of 1, meaning that the director will run the workflow once, is often the best setting when building an SDF workflow. </configure></property>
|
52
|
<property name="prop:vectorizationFactor" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vectorizationFactor is used to increase the efficiency of a workflow by increasing the number of times actors fire each time the workflow iterates. If the parameter is set to a positive integer (other than 1), the director will fire each actor the specified number of times more than normal. The default is 1, indicating that no vectorization should be performed. Keep in mind that changing the vectorizationFactor parameter changes the meaning of a nested SDF workflow and may cause deadlock in a workflow that uses it. </configure></property>
|
53
|
<property name="prop:synchronizeToRealTime" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the execution should synchronize to real time or not. By default, the director does not synchronize to real time. If synchronize is selected, the director will only process the workflow when elapsed real time matches the product of the period parameter and the iteration count. Note: if the period parameter has a value of 0.0 (the default), then selecting this parameter has no effect. This is an advanced parameter that can usually be left at its default value.</configure></property>
|
54
|
<property name="prop:period" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The time period of each iteration. The value is a double that defaults to 0.0, which means that the director does not increment workflow time. If the value greater than 0.0, the actor will increment workflow time each time it fires. This is an advanced parameter that can usually be left at its default value. </configure></property>
|
55
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:director:1:1">
|
56
|
</property>
|
57
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.domains.sdf.kernel.SDFDirector">
|
58
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:directorclass:1:1">
|
59
|
</property>
|
60
|
</property>
|
61
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Director">
|
62
|
</property>
|
63
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Director">
|
64
|
</property>
|
65
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[85.0, -5.0]">
|
66
|
</property>
|
67
|
</property>
|
68
|
<property name="Annotation" class="ptolemy.vergil.kernel.attributes.TextAttribute">
|
69
|
<property name="_hideName" class="ptolemy.data.expr.SingletonParameter" value="true">
|
70
|
</property>
|
71
|
<property name="_hideAllParameters" class="ptolemy.data.expr.Parameter" value="true">
|
72
|
</property>
|
73
|
<property name="textSize" class="ptolemy.data.expr.Parameter" value="14">
|
74
|
</property>
|
75
|
<property name="textColor" class="ptolemy.actor.gui.ColorAttribute" value="{0.0, 0.0, 1.0, 1.0}">
|
76
|
</property>
|
77
|
<property name="fontFamily" class="ptolemy.data.expr.StringParameter" value="SansSerif">
|
78
|
</property>
|
79
|
<property name="bold" class="ptolemy.data.expr.Parameter" value="false">
|
80
|
</property>
|
81
|
<property name="italic" class="ptolemy.data.expr.Parameter" value="false">
|
82
|
</property>
|
83
|
<property name="text" class="ptolemy.kernel.util.StringAttribute" value="This workflow reads an image file in JPEG format from a local file on disk, converts it to PNG format, and displays the result. Matt Jones, May 2006, NCEAS">
|
84
|
<property name="_style" class="ptolemy.actor.gui.style.TextStyle">
|
85
|
<property name="height" class="ptolemy.data.expr.Parameter" value="20">
|
86
|
</property>
|
87
|
<property name="width" class="ptolemy.data.expr.Parameter" value="80">
|
88
|
</property>
|
89
|
</property>
|
90
|
</property>
|
91
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
92
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
93
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Edward A. Lee</configure></property>
|
94
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
95
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Use the Annotation attribute to annotate a workflow. Double-click the attribute to customize the content, font size, color, and basic formatting (bold and italics).</configure></property>
|
96
|
<property name="prop:fontFamily" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The font face. Select a font from the drop-down menu. The default is "SansSerif".</configure></property>
|
97
|
<property name="prop:italic" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Select to indicate that the type should be italics. By default, type will not be italicized.</configure></property>
|
98
|
<property name="prop:bold" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Select to indicate that the type should be bold. By default, type will not be bold.</configure></property>
|
99
|
<property name="prop:textColor" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The font color. Specify a string representing an array of four elements: red, green, blue, and alpha, where alpha is transparency. The default is an opaque black, {0.0, 0.0, 0.0, 1.0}</configure></property>
|
100
|
<property name="prop:textSize" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The font size. Select an integer from the drop-down menu or specify a new size by typing it directly into the value field. The default is 14.</configure></property>
|
101
|
<property name="prop:text" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The text of the annotation.</configure></property>
|
102
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:436:1">
|
103
|
</property>
|
104
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.vergil.kernel.attributes.TextAttribute">
|
105
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1199:1">
|
106
|
</property>
|
107
|
</property>
|
108
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#DocumentationActor">
|
109
|
</property>
|
110
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#WorkflowDocumentation">
|
111
|
</property>
|
112
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[70.0, 195.0]">
|
113
|
</property>
|
114
|
</property>
|
115
|
<property name="FileParameter" class="ptolemy.data.expr.FileParameter" value="species-distribution.jpg">
|
116
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
117
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>none</configure></property>
|
118
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>yang zhao, edward lee</configure></property>
|
119
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>none</configure></property>
|
120
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The FileParameter specifies a file or URL. The value of the parameter is a string that may contain references to variables within scope (i.e., variables defined at the same level of the hierarchy or higher) using the $ID ${ID}, or $(ID) syntax. </p> <p>Change the name of the FileParameter to better identify the file it specifies (right-click the parameter and select "Customize Name" from the menu). Other actors may refer to the specified file using the $NAME syntax (e.g., $FileParameter or $SourceFile).</p> <p>File names can be specified in several ways:</p> <ol> <li>As a full path, which can be selected via the Browse option.</li> <li>As a path relative to a base, often the path of the parent workflow. Files specified relative to a base can be kept in the same directory as the parent workflow file, and should be moved together with the workflow. Note: workflows must be saved as MOML files before the workflow path can be used as a base. If the workflow has not been saved to a file, then the class path is used for identifying relative file names. </li> <li>A path that contains references to system-defined strings via the $NAME syntax (e.g., $CWD or $HOME). The following strings may be useful (to see the values of these strings, select "Check System Settings" from the Tools menu in the Toolbar): <table> <tr><td> $CWD</td><td>The current working directory </td></tr> <tr><td>$HOME</td><td>The user's home directory</td></tr> <tr><td> $TMPDIR</td><td>The temporary directory</td></tr> </table> </li> <li>A special file name. The following file names are understood: <table> <tr><td> System.in </td><td> Standard input </td></tr> <tr><td>System.out</td><td>Standard output</td></tr> </table> </li> </ol> </configure></property>
|
121
|
<property name="prop:fileParameter" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The specified file or URL.</configure></property>
|
122
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:422:1">
|
123
|
</property>
|
124
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.data.expr.FileParameter">
|
125
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1186:1">
|
126
|
</property>
|
127
|
</property>
|
128
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#Parameter">
|
129
|
</property>
|
130
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Parameter">
|
131
|
</property>
|
132
|
<property name="_hideName" class="ptolemy.kernel.util.SingletonAttribute">
|
133
|
</property>
|
134
|
<property name="_icon" class="ptolemy.vergil.icon.ValueIcon">
|
135
|
<property name="_color" class="ptolemy.actor.gui.ColorAttribute" value="{0.0, 1.0, 0.0, 1.0}">
|
136
|
</property>
|
137
|
</property>
|
138
|
<property name="_smallIconDescription" class="ptolemy.kernel.util.SingletonConfigurableAttribute">
|
139
|
<configure>
|
140
|
<svg>
|
141
|
<text x="20" style="font-size:14; font-family:SansSerif; fill:#00BB00" y="20">-F-</text>
|
142
|
</svg>
|
143
|
</configure>
|
144
|
</property>
|
145
|
<property name="_editorFactory" class="ptolemy.vergil.toolbox.VisibleParameterEditorFactory">
|
146
|
</property>
|
147
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[35.0, 160.0]">
|
148
|
</property>
|
149
|
</property>
|
150
|
<entity name="Image Filename" class="ptolemy.actor.lib.Const">
|
151
|
<property name="firingCountLimit" class="ptolemy.data.expr.Parameter" value="NONE">
|
152
|
</property>
|
153
|
<property name="NONE" class="ptolemy.data.expr.Parameter" value="0">
|
154
|
</property>
|
155
|
<property name="value" class="ptolemy.data.expr.Parameter" value="FileParameter">
|
156
|
</property>
|
157
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
158
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
159
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
160
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
161
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Constant actor outputs a constant, which is specified by the value parameter. By default, the actor outputs the integer 1.</p> <p>The actor can be used to output other types of values, e.g., a string (such as "Hello") or a double (such as 1.2). The actor' s output type matches the type of the specified value.</p> <p>NOTE: If using a PN Director, the 'firingCountLimit' parameter is often set to a finite integer (e.g. '1') so that the workflow will terminate. </p> </configure></property>
|
162
|
<property name="port:output" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>An output port that broadcasts the specified constant. By default, the output is 1.</configure></property>
|
163
|
<property name="port:trigger" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that has no declared type (in other words, the port can accept any data type: double, int, array, etc.) If the port is connected, the actor will not fire until the trigger port receives an input token. Connecting the port is optional, but useful when scheduling the actor to perform at a certain time.</configure></property>
|
164
|
<property name="prop:firingCountLimit" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The limit on the number of times the actor will fire. The default value is 'NONE', meaning there is no limit on the number of time the constant will be provided to the output port. Any integer can be provided as a value for this parameter.</configure></property>
|
165
|
<property name="prop:value" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The value produced by the Constant actor. By default, the value is the integer token 1. The value can be set to another type, e.g., a string (such as "Hello") or a double (such as 1.2). The output type matches the type of the value specified here.</configure></property>
|
166
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:1:1">
|
167
|
</property>
|
168
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.Const">
|
169
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:877:1">
|
170
|
</property>
|
171
|
</property>
|
172
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#ConstantActor">
|
173
|
</property>
|
174
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#Constant">
|
175
|
</property>
|
176
|
<property name="kar" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:kar:57:1">
|
177
|
</property>
|
178
|
<property name="_icon" class="ptolemy.vergil.icon.BoxedValueIcon">
|
179
|
<property name="attributeName" class="ptolemy.kernel.util.StringAttribute" value="value">
|
180
|
</property>
|
181
|
<property name="displayWidth" class="ptolemy.data.expr.Parameter" value="40">
|
182
|
</property>
|
183
|
</property>
|
184
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{200.0, 100.0}">
|
185
|
</property>
|
186
|
</entity>
|
187
|
<entity name="ImageJ" class="util.ImageJActor">
|
188
|
<property name="fileOrURL" class="ptolemy.data.expr.FileParameter" value="species-distribution.jpg">
|
189
|
</property>
|
190
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
191
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
192
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Dan higgins</configure></property>
|
193
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
194
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The ImageJ actor reads an image file name and opens and displays the image along with a toolbar of image-processing options, which can be used to process the image.</p> <p>The actor uses the ImageJ application to open and work with images. ImageJ can be used to display and process a wide variety of images (tiffs, gifs, jpegs, etc.) For more information about ImageJ, see http://rsb.info.nih.gov/ij/.</p></configure></property>
|
195
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts the path of an image file (a tiff, gif, jpeg, or any other format supported by ImageJ). The file name can also be input through the fileOrURL parameter.</configure></property>
|
196
|
<property name="prop:fileOrURL" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The file name or URL of an image to process (a tiff, gif, jpeg, or any other format supported by ImageJ). The file name may also be input through the input port.</configure></property>
|
197
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:251:1">
|
198
|
</property>
|
199
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="util.ImageJActor">
|
200
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:1077:1">
|
201
|
</property>
|
202
|
</property>
|
203
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#ImageManipulationActor">
|
204
|
</property>
|
205
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#GraphicalOutput">
|
206
|
</property>
|
207
|
<property name="_location" class="ptolemy.kernel.util.Location" value="[515.0, 100.0]">
|
208
|
</property>
|
209
|
</entity>
|
210
|
<entity name="Display" class="ptolemy.actor.lib.gui.Display">
|
211
|
<property name="_windowProperties" class="ptolemy.actor.gui.WindowPropertiesAttribute" value="{bounds={478, 338, 484, 223}, maximized=false}">
|
212
|
</property>
|
213
|
<property name="_paneSize" class="ptolemy.actor.gui.SizeAttribute" value="[484, 179]">
|
214
|
</property>
|
215
|
<property name="rowsDisplayed" class="ptolemy.data.expr.Parameter" value="10">
|
216
|
</property>
|
217
|
<property name="columnsDisplayed" class="ptolemy.data.expr.Parameter" value="40">
|
218
|
</property>
|
219
|
<property name="suppressBlankLines" class="ptolemy.data.expr.Parameter" value="false">
|
220
|
</property>
|
221
|
<property name="title" class="ptolemy.data.expr.StringParameter" value="">
|
222
|
</property>
|
223
|
<property name="KeplerDocumentation" class="ptolemy.vergil.basic.KeplerDocumentationAttribute">
|
224
|
<property name="description" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
225
|
<property name="author" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Yuhong Xiong, Edward A. Lee</configure></property>
|
226
|
<property name="version" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>null</configure></property>
|
227
|
<property name="userLevelDocumentation" class="ptolemy.kernel.util.ConfigurableAttribute"><configure><p>The Display actor reads tokens of any type via its input multiport, and displays each token on a separate line in a text display window.</p> <p>Specify the size of the text display window with the rowsDisplayed and columnsDisplayed parameters. Simply resizing the window onscreen does not persistently change the size when the workflow is saved, closed, and then re-opened. </p> <p>If the input is a string token, then the actor strips the surrounding quotation marks before displaying the value.</p> <p>Select the suppressBlankLines parameter to specify that the actor not add blank lines to the display. By default, the actor will add blank lines.</p> <p>Note: this actor can consume large amounts of memory. It is not advisable to use it to display large output streams.</p></configure></property>
|
228
|
<property name="port:input" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>A multiport that accepts tokens of any type.</configure></property>
|
229
|
<property name="prop:suppressBlankLines" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>Specify whether the actor should display blank lines (the default) or suppress them.</configure></property>
|
230
|
<property name="prop:rowsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The vertical size of the display, in rows. The value is an integer that defaults to 10.</configure></property>
|
231
|
<property name="prop:columnsDisplayed" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The horizontal size of the display, in columns. The value is an integer that defaults to 40.</configure></property>
|
232
|
<property name="prop:title" class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The title of the text display window. If specified, the value will appear in the title bar of the text display window.</configure></property>
|
233
|
</property> <property name="entityId" class="org.kepler.moml.NamedObjId" value="urn:lsid:kepler-project.org:actor:7:1">
|
234
|
</property>
|
235
|
<property name="class" class="ptolemy.kernel.util.StringAttribute" value="ptolemy.actor.lib.gui.Display">
|
236
|
<property name="id" class="ptolemy.kernel.util.StringAttribute" value="urn:lsid:kepler-project.org:class:883:1">
|
237
|
</property>
|
238
|
</property>
|
239
|
<property name="semanticType00" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:1:1#TextualOutputActor">
|
240
|
</property>
|
241
|
<property name="semanticType11" class="org.kepler.sms.SemanticType" value="urn:lsid:localhost:onto:2:1#TextualOutput">
|
242
|
</property>
|
243
|
<property name="_location" class="ptolemy.kernel.util.Location" value="{360, 15}">
|
244
|
</property>
|
245
|
</entity>
|
246
|
<relation name="relation3" class="ptolemy.actor.TypedIORelation">
|
247
|
<property name="width" class="ptolemy.data.expr.Parameter" value="1">
|
248
|
</property>
|
249
|
<vertex name="vertex1" value="{295.0, 95.0}">
|
250
|
</vertex>
|
251
|
</relation>
|
252
|
<link port="Image Filename.output" relation="relation3"/>
|
253
|
<link port="ImageJ.input" relation="relation3"/>
|
254
|
<link port="Display.input" relation="relation3"/>
|
255
|
</entity>
|