Based on #472, I noticed that the General Info class could expose a few more attributes that are useful. Here are a couple I was surprised to see weren't provided:
-
dtype: Weird this isn't explicitly available as complex_data is provided and, from reading the code in base/base.py, it appears that dtype is inferred via np.complex64 if self.complex_data else np.float32
-
sample_shape: Since shape is provided, shouldn't sample_shape be provided as well?
Based on #472, I noticed that the General Info class could expose a few more attributes that are useful. Here are a couple I was surprised to see weren't provided:
dtype: Weird this isn't explicitly available ascomplex_datais provided and, from reading the code in base/base.py, it appears thatdtypeis inferred vianp.complex64 if self.complex_data else np.float32sample_shape: Sinceshapeis provided, shouldn'tsample_shapebe provided as well?