next up previous contents index
Next: Processors Up: Developer's Guide Previous: Typical Usage   Contents   Index


Adding Components

There are two general procedures for adding new components to EMAN2. The first option involves editing templates in order to integrate the new component into the core while the second option involves directly altering the existing core files.

It is generally recommended that components should be added first using templates and later directly added to existing core if desired. When testing or refining a new components build times are much faster if templates are used.

-
General Overview for Using Templates:
  1. Edit the template.h and template.cpp files for the type of component that is being added
  2. From EMAN2/src/build run:
    % make



Subsections

2013-06-11