Here is the mdf file: MODULE Scatter2Grid CATEGORY Realization DESCRIPTION Puts Scattered Data on User Defined Grid LOADABLE s2g; INPUT origin; vector list; (none); origin for positions, or list of positions INPUT deltas; vector list; (none); deltas for positions INPUT counts; integer or vector; (none); number of positions in each dimension INPUT data; field; (none); Data with scattered positions INPUT null_value; scalar or vector; -9999; value INPUT position; flag; 1; 1: position dependent grid, 0: connection dependent grid OPTIONS true; false OUTPUT output_1; field; Data with grid positions
As you can probably see, the grid is specified in the same manner as with the Construct module. In fact it now uses the _dxf_contruct function. It does not automatically calculate a grid, though I thought that would be useful in trying to figure out how to specify some grids. Yes, the null value is assigned so an invalid positions/connections component can be created with the Include module. Jeff On Tue, 9 Jan 2001, Chris Pelkie wrote: > Can you post the .mdf? I'm trying to understand what one tells > Scatter2Grid. Is one of the inputs a proposed grid, or grid resolution, to > bin onto? Or does the module simply hack away at the scattered data and > return the "convex hull" (tightest fitting regular grid) it calculates? > Sounds useful either way! > > When you say "null value is assigned" do you mean you create an "invalid > positions|connections" array and populate it with byte(0), byte(1), or do > you assign some arbitrary (or user-specified) null value (-999) and leave > it up to the user to Include out this value? > > My only problem with the name is that the "2" is a C-ism. I use it all the > time when writing converters, but the DX UI reflects more of an end-user > aesthetic, so at minimum it should be ScatterToGrid. > > Greg can tell you about the Help system. I'm guessing the best solution is > to do an html page and have Dave link it to the main User Ref docs somehow. > Unless someone rewrites the Help interface I doubt you could get your stuff > inserted into it. I seem to remember it was created with some beast like > Bookmaker (well, I'll lay you 5:3 it was). >
MODULE Scatter2Grid CATEGORY Realization DESCRIPTION Puts Scattered Data on User Defined Grid LOADABLE s2g; INPUT origin; vector list; (none); origin for positions, or list of positions INPUT deltas; vector list; (none); deltas for positions INPUT counts; integer or vector; (none); number of positions in each dimension INPUT data; field; (none); Data with scattered positions (which are really grid positions) INPUT null_value; scalar or vector; -9999; value INPUT position; flag; 1; 1: position dependent grid, 0: connection dependent grid OPTIONS true; false OUTPUT output_1; field; Data with grid positions
