elog Package

elog Package

The NICOS electronic logbook.

class nicos.elog.Logbook(name, **config)

Bases: nicos.cache.client.BaseCacheClient

Bases: BaseCacheClient

Parameters inherited from the base classes: description, loglevel, lowlevel, prefix, server

genplot Module

Generate quick overview plots of scans, using Gnuplot.

nicos.elog.genplot.plotDataset(dataset, fn)

handler Module

The NICOS electronic logbook.

class nicos.elog.handler.Handler(log)

Bases: object

close()
handle_attachment(time, data)
handle_detectors(time, dlist)
handle_directory(time, data)
handle_entry(time, data)
handle_environment(time, dlist)
handle_message(time, message)
handle_newexperiment(time, data)
handle_offset(time, data)
handle_remark(time, remark)
handle_sample(time, data)
handle_scanend(time, dataset)
handle_scriptbegin(time, data)
handle_scriptend(time, data)
handle_setup(time, setupnames)
class nicos.elog.handler.HtmlWriter

Bases: object

close()
emit(html)
emit_toc(html)
endstate()
new_id()
newstate(state, prefix, suffix, html)
open(directory, instr, proposal)
timestamp(time)
toc_entry(level, text, target)

utils Module

Utilities for the electronic logbook daemon.

nicos.elog.utils.formatMessage(message)
nicos.elog.utils.format_time(timeval)
nicos.elog.utils.pretty1(value)
nicos.elog.utils.pretty2(value1, value2)

Table Of Contents

Previous topic

daemon Package

Next topic

generic Package