Target Namespace | http://www.openmicroscopy.org/XMLschemas/AnalysisModule/RC1/AnalysisModule.xsd |
---|---|
Version | RC1 |
Element and Attribute Namespaces |
|
Schema Composition |
|
Prefix | Namespace |
---|---|
Default namespace | http://www.w3.org/2001/XMLSchema |
xml | http://www.w3.org/XML/1998/namespace |
AML | http://www.openmicroscopy.org/XMLschemas/AnalysisModule/RC1/AnalysisModule.xsd |
CLI | http://www.openmicroscopy.org/XMLschemas/CLI/RC1/CLI.xsd |
Bin | http://www.openmicroscopy.org/XMLschemas/BinaryFile/RC1/BinaryFile.xsd |
MLI | http://www.openmicroscopy.org/XMLschemas/MLI/IR2/MLI.xsd |
xsd | http://www.w3.org/2001/XMLSchema |
Name | AnalysisModule |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | Describes an interface to use with a program. |
'This is a stub for future development. The database location doesn\'t even exist yet. If the output of the analysis will be the same when pixel positions are scrambled, the analysis is a stream algorithm. Examples of stream algorithms are: A statistics module that produces mean, geometric mean, standard deviation, etc. for pixel intensities. A module to cross correlate pixel intensities across wavelengths. Example of an algorithms that is not a stream algorithm is: FindSpots. (It\'s a module to find blobs in an image.) If a module is a stream algorithm, it can function across the x, y, z, and time dimensions. Tied to DB. Table PROGRAMS Column IS_STREAM_ALGORITHM'
"'As more handlers, are added, this part of the schema needs to be changed Tied to DB. Table PROGRAMS Column MODULE_TYPE'
"'If the module iterates over a feature, specify the iterator here. It will reference a feature via the TAG column of the FEATURES table. An example of a module that does not iterate over a feature is Find Cells. It examines one image at a time, hence it iterates over an image, not a feature. It produces zero or more features (Çell) per image. These Cell features belong to an image. This module would not get a FeatureIterator attribute. An example of a module that iterates over a feature is Find Golgi. It examines one CELL at a time. A cell is a feature, hence the module iterates over features, not images or datasets. It produces zero or more Golgi features per Cell feature. These Golgi features belong to a Cell feature. This module would get a FeatureIterator attribute of \"CELL\". Tied to DB. Table PROGRAMS Column DEFAULT_ITERATOR'
"'If this module makes new features, then the new Feature\'s name needs to be specified here. If the module does not make new features, do not specify a value for this attribute. Tied to DB. PROGRAMS.NEW_FEATURE_TAG'
"'References a Category.'
"'Eventually will refer to a program. Currently program installation is NOT implemented. So this value is the path to the installed binary file.'
"Name | AnalysisModuleLibrary |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | An analysis module is defined by two things: 1) A program 2) An interface A single program may have multiple interfaces. Why do you need multiple interfaces? Pretend you have a program that calculates simple statistics on the pixels of an image. You can specify which statistics you want via parameters. Typing ./stats -mean -sigma image1 will ouput Image | mean | sigma image1 12.4 1 Typing ./stats -geomean -mean image1 will output Image | geomean | mean image1 12.2 12.4 The outputs are completely different. You need to specify an interface for each of these behaviors. Or pretend you have a powerful program that can do 10 unrelated tasks, each of which outputs an image. While the outputs are the same type and format, they represent 10 completely different things. In this case, it might make sense to define 10 corrosponding AnalysisModule to represent the 10 logical functions. In any case, use AnalysisModule to define an interface and Program to store installation software for a program. |
Name | Category |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
'Categories are organized into heirarchical structures. This specifies the full path of this category in the following format. Path = \"GrandParent name.Parent name.Category name\" If you defined a sub category, we Strongly encourage you to also define all ancestor categories that are not part of the core OME specification.'
">Name | Declaration |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | States module requirements. Formal Inputs are optional because input requirements may be specified by guaranteed image attributes. For example, OME_Image_XYZ_stats requires a path to the OME repository file, and Dimensions. These are given by <RawImageFilePath>, <sizeX>, <sizeY>, <sizeZ>, <sizeT>, and <sizeW>. |
Name | Description |
---|---|
Type | string |
Nillable | no |
Abstract | no |
Documentation | Just some free-form text to describe Images, Screens and Projects. The content model is ANY, which means that en entire XML sub-document can be placed here. |
Name | Entry |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
'Tied to DB. LOOKUP_TABLE_ENTRIES.VALUE'
"'Tied to DB. LOOKUP_TABLE_ENTRIES.LABEL'
"/>Name | FormalInput |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | Specifies an input requirement for a module. Image dimensions and image file locations (repository or other format) should not be specified with this. Image dimensions are intrisic to an image. They do not represent a special requirement. Image file locations and contents are specified by other elements. Specifically, RawImageFile, RawImageFilePath, XYPlaneFile, and XYPlaneFilePath. |
'OME interprets this as a recommendation rather than a requirement. Tied to DB. Table FORMAL_INPUTS Column USER_DEFINED'
"'Specifies how many counts of this formal input are expected. Meanings are specified below ! = exactly one ? = zero or one + = one or more * = zero or more'
"'Valid characters are alphanumeric and spaces.'
"Name | FormalOutput |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | Specifies an output element of a module. |
'Concerning MakeNewFeature attribute of ExecutionInstructions, if a new feature type is made, then there are two possible places a formal output attribute can be stored: It can be stored as an attribute of the FeatureIterator, or it can be stored as an attribute of the new Feature. This tag is supposed to specify which. Can be left blank if module does not make new iterator. Tied to DB. FORMAL_OUTPUTS.FEATURE_TAG Processed before storage to DB'
"'Specifies how many counts of this formal output will be produced. Meanings are specified below ! = exactly one ? = zero or one + = one or more * = zero or more'
"'THIS IS REQUIRED for every formal output outside of the importer. The importer doesn\'t know what it will run into before it executes, so it can\'t declare the semantic type of its outputs. If you are writing a module, I HIGHLY HIGHLY recommend that you type your formal outputs.'
">Name | InstallationFile |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | Contains a packaged or zipped installation files (binaries or source code). |
Name | InstallationScript |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | The script should interface with the OME API to find all information it needs. (i.e. installation path) It also needs to set the location of the program after the program is installed. The location should be set through the API, but it will propogate to the LOCATION column of the PROGRAMS table. |
Name | Installed |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Name | LookupTable |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | Describes valid values for an input. Think enumerations, (a list of valid values). |
Name | Program |
---|---|
Type | Locally-defined complex type |
Nillable | no |
Abstract | no |
Documentation | Stores an installation package and installation script for a program. This currently is NOT implemented. |
Super-types: | hexBinary < Hex40 (by restriction) |
---|---|
Sub-types: | None |
Name | Hex40 |
---|---|
Content |
|
Super-types: | string < LSID (by restriction) |
---|---|
Sub-types: |
|
Name | LSID |
---|---|
Content |
|
Super-types: | string < LSID (by restriction) < ModuleID (by restriction) |
---|---|
Sub-types: | None |
Name | ModuleID |
---|---|
Content |
|
Super-types: | Address < AusAddress (by extension) |
---|---|
Sub-types: |
|
Name | AusAddress |
---|---|
Abstract | no |
The XML Instance Representation table above shows the schema component's content as an XML instance.
Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.
All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.
Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.
Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.
Disallowed Substitutions
(Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type
attribute.
Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.
Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.
Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.
Nillable
(Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil
attribute. The xsi:nil
attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil
attribute set to true, it can be left empty, even though its element declaration may have required content.
Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.
Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.
Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.
Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.
Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).
Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.
Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.
Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.
Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.
Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.