blocks.Detector()

class feign.blocks.Detector(*args, **kwargs)

A class used to represent a Detector.

Parameters

*args (str) – ID of the detector

_id

ID of the detector

Type

str

location

location of the detector

Type

Point()

collimator

Collimator placed between the source and the detector

Type

Collimator(), optional

set_collimator(collimator=None)

The function to set the Collimator of Detector

Parameters

collimator (Collimator()) – Collimator between source and Detector

set_location(location=None)

The function to set the location of Detector

Parameters

location (Point()) – location of the Detector