Project

General

Profile

Feature #476

Feature #66: Optics refactor

PhaseSpaceVector clean up

Added by Rogers, Chris about 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Optics
Target version:
Start date:
26 May 2011
Due date:
01 January 2012
% Done:

100%

Estimated time:
Workflow:
Under Test

Description

PhaseSpaceVector class - list of items to clean up:

  • Concept is a vector in phase space (i.e. x,y,t,px,py,energy) with a few helper functions to remind us that it represents a particle
  • Remove references to canonical momentum and vector potential - we may want this feature but not right now (we don't have vector potential in the field maps yet)
  • Add comments according to the style guide
  • Ensure code complies with cpplint.py
  • Add tests - most stuff is reasonably simple getters and setters so just doing set_blah get_blah is a good enough test

Also available in: Atom PDF