function returning number of rows

finn
Posts: 36
Joined: 2010-10-13
Location: Germany

Hi,

for my Igor procedure I am looking for a function that returns the number of rows, columns and layers of a given 3D-wave. Has anybody an idea how this function is called?

Thank's,
Finn


jtigor
Posts: 180
Joined: 2007-09-04
Location: United States

You'll have to roll your own from the DimSize function.

Per the help file...

DimSize(waveName, dimNumber )
The DimSize function returns the size of the given dimension.
dimNumber is one of the following:
0: Rows.
1: Columns.
2: Layers.
3: Chunks.
For a 1D wave, DimSize(waveName,0) is identical to numpnts(waveName).


[ last edited August 20, 2012 - 07:40 ]
finn
Posts: 36
Joined: 2010-10-13
Location: Germany

Hi jtigor,

thank you very much. That was exactly what I was looking for.

Cheers,
Finn


Back to top