The photometry base class