I've gone through and added a new parameter called isfloat to the read/write functions. It should work the same as big does. In particular, for normal operation, it should be able to find the correct data type automatically by reading the DTYPA or DTYPP parameter from the acqus or procs file.
The functions read, read_lowmem, write, write_lowmem, and read_pdata have been changed to autoread DTYPA/DTYPP, and they pass isfloat to all the lower-level read/write functions: first to read_pdata_binary, read_binary, read_binary_lowmem, write_binary, and write_binary_lowmem, and then through those to read_data, put_data, bruker_nd.__init__, get_trace, and uncomplexify_data. I think that's everything that touches the dtype of the binary file...
I've gone through and added a new parameter called
isfloat
to the read/write functions. It should work the same asbig
does. In particular, for normal operation, it should be able to find the correct data type automatically by reading the DTYPA or DTYPP parameter from the acqus or procs file.The functions
read
,read_lowmem
,write
,write_lowmem
, andread_pdata
have been changed to autoread DTYPA/DTYPP, and they passisfloat
to all the lower-level read/write functions: first toread_pdata_binary
,read_binary
,read_binary_lowmem
,write_binary
, andwrite_binary_lowmem
, and then through those toread_data
,put_data
,bruker_nd.__init__
,get_trace
, anduncomplexify_data
. I think that's everything that touches the dtype of the binary file...