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_configs(chips)[source]¶ Save specified chip configs to log file (if applicable)
Parameters: configs – list of Chips to log
-
record(data, direction=0, *args, **kwargs)[source]¶ Log specified data.
Parameters: - data –
listof data to be written to log. Valid data types are specified by logger implementation. Raises aValueErrorif datatype is invalid. - direction –
Logger.WRITEif packets were sent to ASICs,Logger.READif packets were received from ASICs. (default:Logger.WRITE)
- data –
-
Implementations¶
Here is the documentation for the various LArPix loggers.