blocks.Absorber()

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

A class used to represent an Absorber. An absorber can be thought of any element around (or within) the assembly, which attenuates gamma radiation.

Parameters

*args (str) – ID of the absorber

_id

ID of the absorber

Type

str

form

the shape of the absorber

Type

Rectangle() or Circle()

material

Material._id of the Material the absorber is made of

Type

str

accommat

Material._id of the Material the absorber is surrounded with (Note: the program has no capabilities to decide which material is around the absorber, thus the user has to set this)

Type

str

set_accommat(accommat=None)

The function to set the accommodating material of Absorber

Parameters

accommat (Material()) – Material the Absorber is surrounded with.

set_form(form=None)

The function to set the shape of Absorber

Parameters

form (Rectangle() or Circle()) – shape of the absorber

set_material(material=None)

The function to set the material of Absorber

Parameters

material (Material()) – Material the Absorber is made of