LArPix Logger¶
-
class
larpix.logger.logger.
Logger
(enabled=False, *args, **kwargs)[source]¶ Base class for larpix logger objects that explicity describes the necessary functions for a Logger implementation. Additional functions are not built into the larpix core.
-
WRITE
= 0¶ Flag to indicate packets were sent to ASICs
-
READ
= 1¶ Flag to indicate packets were received from ASICs
-
record
(data, direction=0, *args, **kwargs)[source]¶ Log specified data.
Parameters: - data –
list
of data to be written to log. Valid data types are specified by logger implementation. Raises aValueError
if datatype is invalid. - direction –
Logger.WRITE
if packets were sent to ASICs,Logger.READ
if packets were received from ASICs. (default:Logger.WRITE
)
- data –
-
Implementations¶
Here is the documentation for the various LArPix loggers.