PTW DIAMENTOR DAP dosemeters

class pymeasure.instruments.ptw.ptwDIAMENTOR(adapter, name='PTW DIAMENTOR DAP dosemeter', baud_rate=9600, **kwargs)

Bases: Instrument

A class representing the PTW DIAMENTOR DAP dosemeters.

property baudrate: Any

Control the baudrate (int, strictly 9600, 19200, 38400, 57600 or 115200).

The baudrate is changed after sending the respone.

property calibration_factor: Any

Control the calibration factor of the measurement chamber in µGy*m²/s (float, strictly from 1E8 to 9.999E12, default: 1.0E9).

The unit of the calibration factor is always µGy*m²/s. It is independent from the selected dap_unit.

Warning

Changing the calibration factor can lead to wrong measurements!

The calibration factor of the last calibration can be found on a label on the case or in the calibration certificate of the DIAMENTOR chamber.

check_set_errors()

Check for errors after sending a command.

Return type:

list[str]

property constancy_check_passed: Any

Get the DIAMENTOR electrical constancy check result (bool).

property correction_factor: Any

Control the correction factor of the chamber (float, strictly from 0 to 9.999, default: 1.0).

property dap_unit: Any

Control the dose-area-product (DAP) unit (str, strictly cGycm2, Gycm2, uGym2 or Rcm2).

  • cGycm2 selects cGy*cm²

  • Gycm2 selects Gy*cm²

  • uGym2 selects µGy*m²

  • Rcm2 selects R*cm²

execute_selftest()

Execute the DIAMENTOR selftest.

Raises:

ValueError if selftest fails

Return type:

None

property id: Any

Get the firmware version (str).

Example response: CRS 2.33

property is_calibrated: Any

Get the calibration status (bool).

property is_eeprom_ok: Any

Get the EEPROM CRC ok status (bool).

property measurement: Any

Get the measurement result (dict).

Dict keys:

dap, dap_rate, time

The result consists of the dose-area-product (DAP) and the dose-area-product rate. The units of dap and dap_rate depend on the dap_unit property. Time is in seconds.

property pressure: Any

Control the atmospheric pressure in hPa (int, strictly from 500 to 1500, default: 1013).

It is used for the air density correction.

read()

Read the device response and check for errors.

Raises:

ValueError for error response or ConnectionError for an unknown error

Return type:

str

reset()

Reset the dose and charge measurement values.

Return type:

None

property serial_number: Any

Get the serial number (int).

property temperature: Any

Control the chamber temperature in degree Celsius (int, strictly from 0 to 70, default: 20).

It is used for the air density correction.