The data type of the SubhaloFlag field

Qin PENG
  • 13 Oct '23

Hi Dylan,

When I checked the data type of the SubhaloFlag field, I found the data type is 'bool' not 'int16'.

SubhaloFlag = il.groupcat.loadSubhalos(basePath,snapNum,fields='SubhaloFlag')

SubhaloFlag
array([ True,  True,  True, ...,  True,  True,  True])

SubhaloFlag.dtype
dtype('bool')
Dylan Nelson
  • 13 Oct '23

Perhaps yes. Regardless, it only has values of either 0 (False) or 1 (True).

  • Page 1 of 1