sfftkrw.schema GenerateDS API

v0_8_0_dev1

class sfftkrw.schema.v0_8_0_dev1.canonicalEulerAnglesType(id=None, phi=None, theta=None, psi=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Euler angler according to Heymann et al. 2005 (doi:10.1016/j.jsb.2005.06.001) Angles are specified in degrees together with their bounds.

class sfftkrw.schema.v0_8_0_dev1.colourType(name=None, rgba=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

The ‘name’ corresponds to the sRGB colour space name and maps precisely to an RGB value. When this happens, the alpha channel should be set to ‘1’ (opaque). Requires the use of an external Python module (webcolors.py).

class sfftkrw.schema.v0_8_0_dev1.complexes_and_macromolecules_type(macromolecule_list=None, complex_list=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Depending on the problem, one can either reference the sample on the macromolecule level or the complex level.

class sfftkrw.schema.v0_8_0_dev1.cuboid(id=None, x=None, y=None, z=None, transform_id=None, attribute=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

3D rectangle’attribute’ could refer to figure of merit (FOM)

class sfftkrw.schema.v0_8_0_dev1.ellipsoid(id=None, x=None, y=None, z=None, transform_id=None, attribute=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

3D sphere

class sfftkrw.schema.v0_8_0_dev1.hsvType(hue=None, saturation=None, value=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Deprecated

class sfftkrw.schema.v0_8_0_dev1.integerVectorType(x=None, y=None, z=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Deprecated

class sfftkrw.schema.v0_8_0_dev1.meshPointType(index=None, designation=None, point=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

A mesh is a sequence of trianglesDeprecated

class sfftkrw.schema.v0_8_0_dev1.normals_type(num_normals=None, mode='float32', endianness='little', data=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

The ‘data’ attribute is a base64-encoded binary sequence of float (default: float32) triples. The 0-based position is the index used when constructing triangles (see ‘triangles_type’ definition).

class sfftkrw.schema.v0_8_0_dev1.runLengthEncodingType(string=None, offset=None, boxSize=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Deprecated

class sfftkrw.schema.v0_8_0_dev1.segment_type(id=None, parent_id=None, biological_annotation=None, colour=None, three_d_volume=None, shape_primitive_list=None, mesh_list=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

For the root segmenƒt: parentSegmentID = 0

class sfftkrw.schema.v0_8_0_dev1.segmentation(schema_version='0.8.0.dev1', version=None, name=None, software_list=None, transform_list=None, primary_descriptor=None, bounding_box=None, global_external_references=None, segment_list=None, lattice_list=None, details=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Link to assembly or component id. Version History 0.2, 2015/3/15, Ardan Patwardhan: 1) Added support for color 2) Added support for triangle representation of segment - this is in support of Amira segmentations 0.3, 2015/10/21, Paul Korir: 1) Added voxelTransform 2) Added filePath for segmentLinks to HDF5 (Segger) segmentations 3) Added segmentObjects with contours and meshes for IMOD 0.4, 2015/11/04, Paul Korir: 1) Added alpha for rgb color (transparency) 0.5, 2015/12/14, Paul Korir: 1) Removed ‘voxelTransform’ 2) Moved ‘numberOfCopies’ as ‘numberOfInstances’ to be a sequence element within ‘biologicalAnnotation’ 3) Made ‘color’ a choice between ‘name’ (X11/HTML4 sRGB colour space names) and ‘rgba’ 4) Added a ‘transform’ element, which is a possibly empty list of transformation matrices referenced within the document by a non- negative identifier 5) Renamed ‘segmentLink’ to ‘voxelSegmentation’ and added a ‘transformId’ element 6) Renamed ‘color’ element to ‘colour’ and ‘colorType’ to ‘colourType’ 7) Structured ‘shapePrimitive’ to a list of ‘shapePrimitive’ (substitution group for ‘ellipsoid’, ‘cuboid’, ‘pyramid’, ‘cylinder’) 8) Identified and labeled deprecated data types 9) Renamed shapePrimitive ‘pyramid’ to ‘cone’ and added tentative definition 10) Removed ‘origin’ and ‘viewVectorRotation’ elements from shape primitives (cuboid, ellipsoid, cone, cylinder) and replaced with ‘transformId’ element 11) Renamed references to ‘triangles’ to ‘polygons’ e.g. ‘triangleListType’ now ‘polygonListType’ 0.5.1, 2015/12/23, Paul Korir: 1) Change colourType to have rgbaType minOccurs=1 2) Added ‘attribute’ element (e.g. for FOM) to shapePrimitive 3) Deleted comment: ‘Are the CCP4 format masks going to be allowed? If so, we could represent the information of the mask (mapType) here.’ from ‘voxelSegmentation’. 4) Added segment ‘format’ element to ‘voxelSegmentation’ restricted to values ‘runLengthEncoding’, ‘MRC’, or ‘Segger’ 5) Renamed ‘voxelSegmentation’ to ‘threeDVolume’ and deprecated ‘subTomogramAverage’. 6) Restructured ‘transforms’ into a list (‘transformList’) of ‘transform’, which is a substitutionGroup of ‘transformationMatrix’, ‘canonicalEulerAngles’ or ‘viewVectorRotation’. 7) Added an ‘angleDegreeType’ to restrict angle range in degrees [0,360]. 0.5.2, 2016/01/04, Paul Korir: 1) Made ‘transformList’ optional 2) Added ‘id’ attributes for ‘canonicalEulerAngle’ and ‘viewVectorRotation’ 3) Annotations for ‘filePath’ 4) Added ‘other’ to types for ‘externalReference’ and optional ‘otherTypes’ attribute 5) Changed type of ‘name’ element in ‘colour’ from ‘xs:string’ to ‘xs:token’ 6) Created ‘threeDVolumeType’ to be used by ‘threeDVolume’ and ‘subtomogramAverage’ 7) Added ‘id’ attributes for ‘shapePrimitive’ and ‘threeDVolumeType’ 8) Renamed ‘contours’ to ‘contourList’ 9) Created ‘meshList’ as a sequence of ‘mesh’. Each ‘mesh’ has an ‘id’ 0.5.3, 2016/01/06, Paul Korir: 1) Renamed ‘transformationMatrixType’ attribute from ‘transformId’ to ‘id’ 2) Created ‘dimensionType’ for all ‘shapePrimitive’ dimensions 0.5.4, 2016/01/06, Paul Korir: 1) Added element ‘primaryDescriptor’ of type restricted string to ‘threeDVolume’, ‘shapePrimitiveList’, ‘contourList’, ‘meshList’ 0.5.5, 2016/01/22, Paul Korir: 1) Changed ‘vertices’ and ‘polygons’ to ‘vertexList’ and ‘polygonList’, respectively. 2) Added attribute ‘designation’ restricted to string ‘vertex’ (default) and ‘normal’ to ‘vertex’ element. 0.5.6, 2016/01/25, Paul Korir: 1) Changed attribute ‘polygonID’ from ‘positiveInteger’ to ‘nonNegativeInteger’ 0.5.7, 2016/01/26, Paul Korir: 1) Change element names to save disk space: ‘vertex’ to ‘v’, ‘vertexID’ to ‘vID’, ‘point’ to ‘p’, ‘polygon’ to ‘P’, ‘polygonID’ to ‘PID’ 2) Changed ‘vertexType’ to have ID of type ‘xs:nonNegativeInteger’ (from ‘xs:positiveInteger’) 0.5.8, 2016/04/26, Paul Korir: 1) Added ‘version’ element at the root. 0.5.8, 2016/08/08, Paul Korir: 2) Made ‘shapePrimitive’ element ‘attribute (not present in ‘subtomogramAverage’ optional (minOccurs=0) 0.5.8, 2016/08/17, Paul Korir: 3) Added a ‘transformId’ element to ‘contourList’ and to ‘mesh’. 0.5.8, 2016/10/04, Paul Korir: 4) Simplified shape primitives by eliminating internal layering e.g. cone/dimensions/height to cone/height 0.5.8, 2016/10/14, Paul Korir: 5) (Finally) renamed ‘surfaceType’ to ‘meshType’ for consistency. 0.5.8, 2016/10/20, Paul Korir: 6) ‘macromolecule’ and ‘complex’ changed from ‘positiveInteger’ to ‘string’ 0.6.0a1, 2017/02/28, Paul Korir: 1) Added ‘EMAN’ as a ‘threeDVolume’ format 0.6.0a2, 2017/05/15, Paul Korir: 1) Restructured ‘externalReferences’ from simpleType to complexType 2) Changed ‘externalReference’ to ‘externalReferenceType’ and replaced elements with attributes 0.6.0a3, 2017/05/25, Paul Korir: 1) Added element ‘boundingBox’ taking six integers: xmin, xmax, ymin, ymax, zmin, zmax; minimums default to 0 0.6.0a4, 2017/07/31, Paul Korir: 1) Added global (optional) external references 0.6.0a4, 2017/09/20, Paul Korir: 2) Renamed global external references to globalExternalReferences 0.6.0a4, 2017/09/25, Paul Korir: 3) Restructured global external references to have the form <ref [attrs]/> 4) Now externalReferenceType has attributes: type (required), otherType (required), value (required), label (new, optional), description (new, optional) 0.6.0a4, 2017/11/23, Paul Korir: 5) Replaced all active ‘token’ to ‘string’ types 0.7.0.dev0, 2017/11/09, Paul Korir: 1) new 3D volume type: ‘threeDVolumeType’ (previous one is ‘oldThreeDVolumeType’ supports both byte/integer lattices and density volumes (for subtomogram averages) 2) embedded volume as base64 string using new ‘latticeType’ 3) removed contour representation 0.7.0.dev0, 2018/05/04, Paul Korir: 4) segment name added 5) removed filePath 6) removed viewVectorRotation and canonicalEulerAngles 7) colour has rgbaType now 0.7.0.dev0, 2018/07/18, Paul Korir: 8) vertex designation now ‘surface’ or ‘normal’ 0.8.0.dev0, 2019/11/08, Paul Korir: 1) converted all camelCase names to underscore_case 2) ‘polygon’ is now ‘triangle’ 3) changed ‘transformation_matrix’ from being a subsitution group 4) external_reference (ref): attributes changed to ‘resource’, ‘url’, ‘accession’ from ‘type’, ‘otherType’ and ‘value’, respectively 5) renamed ‘macromolecules_and_complexes_type’ to ‘complexes_and_macromolecules_type’ 6) restructured ‘macromolecules’ to ‘macromolecule_list’ (same for ‘complexes’) 7) now ‘macromolecule_list’ contains ‘macromolecule’ with ‘id’ and text value for accession 0.8.0.dev0, 2019/12/18, Paul Korir: 8) now ‘transform_list’ is mandatory with at least one ‘transformation_matrix’ for the image-to-physical transform 9) changed ‘software’ to be a ‘software_list’ of zero or more ‘software’ items; software ‘version’ now required if ‘software’ is defined 10) ‘complexes_and_macromolecules’ are deprecated (were for annotation; ‘external_references’ are sufficient) 11) overhaul of ‘mesh’ field to have ‘vertices’, ‘normals’ (optional) and ‘triangles’ which are base64-encoded strings of actual data 12) ‘xmax’, ‘ymax’ and ‘zmax’ of ‘bounding_box’ are mandatory 0.8.0.dev1, 2020/01/29, Paul Korir: Bugfix: ‘software’ elements should have an ‘id’ attribute; ‘id’ attribute erroneously placed in ‘software_list’ and should be a list of 0 or more ‘software’ elements

class sfftkrw.schema.v0_8_0_dev1.transform_listType(transformation_matrix=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

Mandatory field. The first ‘transformation_matrix’ must be the image-to-physical transform.

class sfftkrw.schema.v0_8_0_dev1.transformation_matrix_type(id=None, rows=None, cols=None, data=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

data is a space-separated sequence of numbers to be converted to floats. The number of items in ‘data’ is equivalent to the product of ‘rows’ and ‘cols’.

class sfftkrw.schema.v0_8_0_dev1.triangles_type(num_triangles=None, mode='uint32', endianness='little', data=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

The ‘data’ attribute is a base64-encoded binary sequence of int (default: uint32) triples. The values are 0-based indices of the vertices in the ‘vertices’ mesh attribute.

class sfftkrw.schema.v0_8_0_dev1.vertices_type(num_vertices=None, mode='float32', endianness='little', data=None, gds_collector_=None, **kwargs_)

Bases: sfftkrw.schema.v0_8_0_dev1.GeneratedsSuper

The ‘data’ attribute is a base64-encoded binary sequence of float (default: float32) triples. The 0-based position is the index used when constructing triangles (see ‘triangles_type’ definition).

v0_7_0_dev0

class sfftkrw.schema.v0_7_0_dev0.canonicalEulerAnglesType(id=None, phi=None, theta=None, psi=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

Euler angler according to Heymann et al. 2005 (doi:10.1016/j.jsb.2005.06.001)Angles are specified in degrees together with their bounds.

class sfftkrw.schema.v0_7_0_dev0.colourType(name=None, rgba=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

The ‘name’ corresponds to the sRGB colour space name and maps precisely to an RGB value. When this happens, the alpha channel should be set to ‘1’ (opaque). Requires the use of an external Python module (webcolors.py).

class sfftkrw.schema.v0_7_0_dev0.cuboid(id=None, x=None, y=None, z=None, transformId=None, attribute=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

3D rectangle’attribute’ could refer to figure of merit (FOM)

class sfftkrw.schema.v0_7_0_dev0.ellipsoid(id=None, x=None, y=None, z=None, transformId=None, attribute=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

3D sphere

class sfftkrw.schema.v0_7_0_dev0.hsvType(hue=None, saturation=None, value=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

Deprecated

class sfftkrw.schema.v0_7_0_dev0.integerVectorType(x=None, y=None, z=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

Deprecated

class sfftkrw.schema.v0_7_0_dev0.macromoleculesAndComplexesType(macromolecule=None, complex=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

Depending on the problem, one can either reference the sample on the macromolecule level or the complex level.

class sfftkrw.schema.v0_7_0_dev0.meshPointType(index=None, designation=None, point=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

A mesh is a sequence of trianglesDeprecated

class sfftkrw.schema.v0_7_0_dev0.runLengthEncodingType(string=None, offset=None, boxSize=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

Deprecated

class sfftkrw.schema.v0_7_0_dev0.segmentType(id=None, parentID=None, biologicalAnnotation=None, complexesAndMacromolecules=None, colour=None, threeDVolume=None, shapePrimitiveList=None, meshList=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

For the root segment: parentSegmentID = 0

class sfftkrw.schema.v0_7_0_dev0.segmentation(schemaVersion='0.7.0.dev0', version=None, name=None, software=None, transformList=None, primaryDescriptor=None, boundingBox=None, globalExternalReferences=None, segmentList=None, latticeList=None, details=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

Link to assembly or component id. Version History 0.2, 2015/3/15, Ardan Patwardhan: 1) Added support for color 2) Added support for triangle representation of segment - this is in support of Amira segmentations 0.3, 2015/10/21, Paul Korir: 1) Added voxelTransform 2) Added filePath for segmentLinks to HDF5 (Segger) segmentations 3) Added segmentObjects with contours and meshes for IMOD 0.4, 2015/11/04, Paul Korir: 1) Added alpha for rgb color (transparency) 0.5, 2015/12/14, Paul Korir: 1) Removed ‘voxelTransform’ 2) Moved ‘numberOfCopies’ as ‘numberOfInstances’ to be a sequence element within ‘biologicalAnnotation’ 3) Made ‘color’ a choice between ‘name’ (X11/HTML4 sRGB colour space names) and ‘rgba’ 4) Added a ‘transform’ element, which is a possibly empty list of transformation matrices referenced within the document by a non- negative identifier 5) Renamed ‘segmentLink’ to ‘voxelSegmentation’ and added a ‘transformId’ element 6) Renamed ‘color’ element to ‘colour’ and ‘colorType’ to ‘colourType’ 7) Structured ‘shapePrimitive’ to a list of ‘shapePrimitive’ (substitution group for ‘ellipsoid’, ‘cuboid’, ‘pyramid’, ‘cylinder’) 8) Identified and labeled deprecated data types 9) Renamed shapePrimitive ‘pyramid’ to ‘cone’ and added tentative definition 10) Removed ‘origin’ and ‘viewVectorRotation’ elements from shape primitives (cuboid, ellipsoid, cone, cylinder) and replaced with ‘transformId’ element 11) Renamed references to ‘triangles’ to ‘polygons’ e.g. ‘triangleListType’ now ‘polygonListType’ 0.5.1, 2015/12/23, Paul Korir: 1) Change colourType to have rgbaType minOccurs=1 2) Added ‘attribute’ element (e.g. for FOM) to shapePrimitive 3) Deleted comment: ‘Are the CCP4 format masks going to be allowed? If so, we could represent the information of the mask (mapType) here.’ from ‘voxelSegmentation’. 4) Added segment ‘format’ element to ‘voxelSegmentation’ restricted to values ‘runLengthEncoding’, ‘MRC’, or ‘Segger’ 5) Renamed ‘voxelSegmentation’ to ‘threeDVolume’ and deprecated ‘subTomogramAverage’. 6) Restructured ‘transforms’ into a list (‘transformList’) of ‘transform’, which is a substitutionGroup of ‘transformationMatrix’, ‘canonicalEulerAngles’ or ‘viewVectorRotation’. 7) Added an ‘angleDegreeType’ to restrict angle range in degrees [0,360]. 0.5.2, 2016/01/04, Paul Korir: 1) Made ‘transformList’ optional 2) Added ‘id’ attributes for ‘canonicalEulerAngle’ and ‘viewVectorRotation’ 3) Annotations for ‘filePath’ 4) Added ‘other’ to types for ‘externalReference’ and optional ‘otherTypes’ attribute 5) Changed type of ‘name’ element in ‘colour’ from ‘xs:string’ to ‘xs:token’ 6) Created ‘threeDVolumeType’ to be used by ‘threeDVolume’ and ‘subtomogramAverage’ 7) Added ‘id’ attributes for ‘shapePrimitive’ and ‘threeDVolumeType’ 8) Renamed ‘contours’ to ‘contourList’ 9) Created ‘meshList’ as a sequence of ‘mesh’. Each ‘mesh’ has an ‘id’ 0.5.3, 2016/01/06, Paul Korir: 1) Renamed ‘transformationMatrixType’ attribute from ‘transformId’ to ‘id’ 2) Created ‘dimensionType’ for all ‘shapePrimitive’ dimensions 0.5.4, 2016/01/06, Paul Korir: 1) Added element ‘primaryDescriptor’ of type restricted string to ‘threeDVolume’, ‘shapePrimitiveList’, ‘contourList’, ‘meshList’ 0.5.5, 2016/01/22, Paul Korir: 1) Changed ‘vertices’ and ‘polygons’ to ‘vertexList’ and ‘polygonList’, respectively. 2) Added attribute ‘designation’ restricted to string ‘vertex’ (default) and ‘normal’ to ‘vertex’ element. 0.5.6, 2016/01/25, Paul Korir: 1) Changed attribute ‘polygonID’ from ‘positiveInteger’ to ‘nonNegativeInteger’ 0.5.7, 2016/01/26, Paul Korir: 1) Change element names to save disk space: ‘vertex’ to ‘v’, ‘vertexID’ to ‘vID’, ‘point’ to ‘p’, ‘polygon’ to ‘P’, ‘polygonID’ to ‘PID’ 2) Changed ‘vertexType’ to have ID of type ‘xs:nonNegativeInteger’ (from ‘xs:positiveInteger’) 0.5.8, 2016/04/26, Paul Korir: 1) Added ‘version’ element at the root. 0.5.8, 2016/08/08, Paul Korir: 2) Made ‘shapePrimitive’ element ‘attribute (not present in ‘subtomogramAverage’ optional (minOccurs=0) 0.5.8, 2016/08/17, Paul Korir: 3) Added a ‘transformId’ element to ‘contourList’ and to ‘mesh’. 0.5.8, 2016/10/04, Paul Korir: 4) Simplified shape primitives by eliminating internal layering e.g. cone/dimensions/height to cone/height 0.5.8, 2016/10/14, Paul Korir: 5) (Finally) renamed ‘surfaceType’ to ‘meshType’ for consistency. 0.5.8, 2016/10/20, Paul Korir: 6) ‘macromolecule’ and ‘complex’ changed from ‘positiveInteger’ to ‘string’ 0.6.0a1, 2017/02/28, Paul Korir: 1) Added ‘EMAN’ as a ‘threeDVolume’ format 0.6.0a2, 2017/05/15, Paul Korir: 1) Restructured ‘externalReferences’ from simpleType to complexType 2) Changed ‘externalReference’ to ‘externalReferenceType’ and replaced elements with attributes 0.6.0a3, 2017/05/25, Paul Korir: 1) Added element ‘boundingBox’ taking six integers: xmin, xmax, ymin, ymax, zmin, zmax; minimums default to 0 0.6.0a4, 2017/07/31, Paul Korir: 1) Added global (optional) external references 0.6.0a4, 2017/09/20, Paul Korir: 2) Renamed global external references to globalExternalReferences 0.6.0a4, 2017/09/25, Paul Korir: 3) Restructured global external references to have the form <ref [attrs]/> 4) Now externalReferenceType has attributes: type (required), otherType (required), value (required), label (new, optional), description (new, optional) 0.7.0.dev0, 2017/11/09, Paul Korir: 1) new 3D volume type: ‘threeDVolumeType’ (previous one is ‘oldThreeDVolumeType’ supports both byte/integer lattices and density volumes (for subtomogram averages) 2) embedded volume as base64 string using new ‘latticeType’ 3) removed contour representation 0.7.0.dev0, 2018/05/04, Paul Korir: 4) segment name added 5) removed filePath 6) removed viewVectorRotation and canonicalEulerAngles 7) colour has rgbaType now 0.7.0.dev0, 2018/07/18, Paul Korir: 8) vertex designation now ‘surface’ or ‘normal’

class sfftkrw.schema.v0_7_0_dev0.transformationMatrixType(id=None, rows=None, cols=None, data=None)

Bases: sfftkrw.schema.v0_7_0_dev0.GeneratedsSuper

data is a space-separated sequence of numbers to be converted to floats. The number of items in ‘data’ is equivalent to the product of ‘rows’ and ‘cols’.