Additional ASTRA methods: the astra
module
- astra.astra.delete(ids)[source]
Delete an astra object.
- Parameters:
ids (
int
orlist
) – ID or list of ID’s to delete.
- astra.astra.get_gpu_info(idx=-1)[source]
Get GPU info.
- Parameters:
idx (
int
) – GPU index, or -1 for current device- Returns:
str
– GPU info
- astra.astra.has_feature(feature)[source]
Check a feature flag.
These are used to check if certain functionality has been enabled at compile time, if new functionality is present, or if a backward-incompatible change is present.
See include/astra/Features.h for a list.
- Parameters:
feature (
str
) – The name of the feature- Returns:
bool
– The presence of the feature
- astra.astra.info(ids)[source]
Print info about an astra object.
- Parameters:
ids (
int
orlist
) – ID or list of ID’s to show.