------------------------------------------------------------------------------- Computes a pointing budget over n categories. Terms will be RSS'd within categories and categories will be added. ------------------------------------------------------------------------------- Form: [cep, r, s, t, cList] = PBudget( errors, desc, categ, aZ, eL, file ) ------------------------------------------------------------------------------- ------ Inputs ------ errors (n,3) Error contributions [roll,pitch,yaw] (3 sigma) desc (n) Descriptions of the error contributions categ (n) Categories aZ Azimuth of beam (deg) eL Elevation of beam (deg) file File name for printed budget ------- Outputs ------- cep Circular error (0.99865) r (2,1) Azimuth and elevation errors s (m,3) Summary by category (m = number of categories) t (1,3) Totals cList (m,:) Categories corresponding to s -------------------------------------------------------------------------------