mirror of
https://github.com/echemdata/galvani.git
synced 2025-12-14 01:15:34 +00:00
Merge pull request #38 from bcolsen/col_168
Added RCMP column and column debug info
This commit is contained in:
@@ -166,6 +166,7 @@ VMPdata_colID_dtype_map = {
|
|||||||
125: ('Capacitance charge/µF', '<f8'),
|
125: ('Capacitance charge/µF', '<f8'),
|
||||||
126: ('Capacitance discharge/µF', '<f8'),
|
126: ('Capacitance discharge/µF', '<f8'),
|
||||||
131: ('Ns', '<u2'),
|
131: ('Ns', '<u2'),
|
||||||
|
168: ('Rcmp/Ohm', '<f4'),
|
||||||
169: ('Cs/µF', '<f4'),
|
169: ('Cs/µF', '<f4'),
|
||||||
172: ('Cp/µF', '<f4'),
|
172: ('Cp/µF', '<f4'),
|
||||||
434: ('(Q-Qo)/C', '<f4'),
|
434: ('(Q-Qo)/C', '<f4'),
|
||||||
@@ -236,7 +237,10 @@ def VMPdata_dtype_from_colIDs(colIDs):
|
|||||||
unique_field_name = field_name
|
unique_field_name = field_name
|
||||||
type_list.append((unique_field_name, field_type))
|
type_list.append((unique_field_name, field_type))
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError("column type %d not implemented" % colID)
|
raise NotImplementedError("Column ID {cid} after column {prev} "
|
||||||
|
"is unknown"
|
||||||
|
.format(cid=colID,
|
||||||
|
prev=type_list[-1][0]))
|
||||||
return np.dtype(type_list), flags_dict
|
return np.dtype(type_list), flags_dict
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user