Trying this on a SWIFTGalaxy created from the same snapshot doesn't give the same result (although I wish it did) because the tab completion doesn't pick up all of the properties as they're "hidden": sg.gas is not actually a SWIFTDataset but a helper class, the actual SWIFTDataset is sg.gas._particle_dataset. Presumably it's possible to pass through attributes of sg.gas._particle_dataset to the tab completion feature, somehow?
Recent python version support tab completion in interactive use. Currently swiftsimio will tab complete on something like:
Trying this on a
SWIFTGalaxy
created from the same snapshot doesn't give the same result (although I wish it did) because the tab completion doesn't pick up all of the properties as they're "hidden":sg.gas
is not actually aSWIFTDataset
but a helper class, the actualSWIFTDataset
issg.gas._particle_dataset
. Presumably it's possible to pass through attributes ofsg.gas._particle_dataset
to the tab completion feature, somehow?