2/26/2023 0 Comments Tables tiled![]() ScalarColumn velocity (table, "Velocity") Define the values for the coordinates of the hypercube. TiledShapeStMan sm1 ("TSMExample", IPosition(3,16,32,32)) The (default) tile shape has to be specified for the storage manager. ![]() Create a TiledShapeStMan storage manager for the hypercolumn SetupNewTable newtab("tTiledShapeStMan_tmp.data", td, Table::New) Now create a new table from the description. Note that its dimensionality must be one higher than the dimensionality Define the 3-dim hypercolumn with its data and coordinate columns. Td.addColumn (Arra圜olumnDesc ("Image", 2)) Td.addColumn (ScalarColumnDesc ("Velocity")) Td.addColumn (Arra圜olumnDesc ("Dec", 1)) TableDesc td ("", "1", TableDesc::Scratch) Define the table description and the columns in it. To use because a few special functions need to be called. TiledDataStMan proved to be very powerful, but also a bit cumbersome The last tile shape value defaults to 1 the other Tile shape can be one more than the number of axes in the dataĪrray. Than the dimensionality of the data arrays (since the hypercubeĬontains multiple rows). Note that the dimensionality of the hypercube is one higher Sense when a given array shape is used for the first time. However, since the tile shape is only used when creatingĪ hypercube, using an overriding tile shape makes only That default for the hypercube in this particular row. When setting the shape of theĪrra圜olumn::setShape), it is possible to override
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |