Projector object: the projector
module
- astra.projector.create(config)[source]
Create projector object.
- Parameters:
config (
dict
) – Projector options.- Returns:
int
– the ID of the constructed object.
- astra.projector.delete(ids)[source]
Delete a projector object.
- Parameters:
ids (
int
orlist
) – ID or list of ID’s to delete.
- astra.projector.is_cuda(i)[source]
Check whether a projector is a CUDA projector.
- Parameters:
i (
int
) – ID of projector.- Returns:
bool
– True if the projector is a CUDA projector.
- astra.projector.matrix(i)[source]
Get sparse matrix of a projector.
- Parameters:
i (
int
) – ID of projector.- Returns:
int
– ID of sparse matrix.
- astra.projector.projection_geometry(i)[source]
Get projection geometry of a projector.
- Parameters:
i (
int
) – ID of projector.- Returns:
dict
– projection geometry