Project

General

Profile

Actions

Leginon Developer Guide » History » Revision 3

« Previous | Revision 3/23 (diff) | Next »
Anchi Cheng, 11/18/2011 01:53 PM


Leginon Developer Guide

Brief description of some of the core code components

  • leginondata.py and event.py contain the definitions of all classes of data that are passed around between nodes and/or stored in the database.
  • node.py defines Node, the base class for all nodes. You will find a lot of the basic node functionality here, like passing events, storing user preferences, etc.

Brief description of some of the nodes

  • targetwatcher.py defines the class TargetWatcher which includes basic functionality for processing targets that were produced by another node. The input is target list, which is handled by the processTargetListData method. This method loops over the targets, calling processTargetData on each one. The processTargetData method must be defined in a subclass.
  • acquisition.py defines the Acquisition class, which is a subclass of TargetWatcher. It defines the processTargetData function such that an acquisition sequence happens at each target. More info, see: acquisition.py

Useful diagonosis scripts

Updated by Anchi Cheng about 13 years ago · 3 revisions