Class: NumRu::MultibitIO

Inherits:
Object
  • Object
show all
Defined in:
ext/numru/gphys/multibitIO.c

Instance Method Summary collapse

Instance Method Details

#read2DObject

MultibitIO::read2D : A wrapper of multibit_read_2D.

In addtion to be a simple wrapper, a scaling facotor and an offset can be specfied optionally: The return value is sfloat NArray if factor and/or offset is given (non-nil). Otherwise, it will be an integer NArray.

Also, [fls] can be nil if idx0 and/or idx1 is present.



247
248
249
250
# File 'ext/numru/gphys/multibitIO.c', line 247

static VALUE
wrp_multibit_read_2D(self, pos, nbit, sh0, sh1, f0, l0, s0, f1, l1, s1,
                idx0, idx1, factor, offset )
VALUE self;