AttitudeProfilePlugIn:

Path: SC/GUIPlugIn

% Generate attitude profiles. 
--------------------------------------------------------------------------
   Form:
   x = AttitudeProfilePlugIn( action, modifier, hFig, position, callback )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action      (1,:)  Action 'initialize', 'update'
   modifier    (1,:)  Modifier to the action or data structure if intialization
   hFig        (1,1)  Handle to the figure or if 'update' radio button handles
   position    (1,4)  [left bottom width height]
   callback    (1,:)  Callback string when something has changed in this gui

   -------
   Outputs
   -------
   x           (1,1)  The tag if action is 'initialize' else
                      .nSamp      (1,1)     Number of samples
                      .time       (1,nSamp) Time from start
                      .jD         (1,nSamp) Julian date
                      .rECI       (3,nSamp) Position vector
                      .vECI       (3,nSamp) Velocity vector
                      .angle      (1,nSamp) Time from start
                      .planet     (1,:)     Planet name
                      .qECIToBody (4,nSamp) Quaternion
                      .omega      (3,nSamp) Angular rate

--------------------------------------------------------------------------
  Notes:
  There are six choices of attitude profile in the GUI: LVLH, ECI, sun-nadir,
  spinning, sun, and user-defined. The user-defined function takes two 
  optional parameters and must have the following form:

     [qECIToBody,omega] = f( [rECI; vECI], jD, p1, p2 );

  where rECI, vECI, and jD are arrays of length nSamp.
--------------------------------------------------------------------------

Children:

AC: ACData/ACTConstants
AerospaceUtils: Coord/QLVLH
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/El2RV
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/M2Nu
SC: BasicOrbit/M2NuPb
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/Period
SC: BasicOrbit/RV2El
SC: BasicOrbit/RVFromKepler
SC: Ephem/QSpin
SC: Ephem/QSunNadir
SC: Ephem/QSunPointing
SC: Ephem/SunNadir
SC: Ephem/SunV1
SC: GUIPlugIn/ElementsPlugIn
SC: SCData/sCTConstants
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/CloseFigure
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/DispWithTitle
Common: General/GetListString
Common: General/IsVersionAfter
Common: General/MatToCell
Common: General/StringMatch
Common: General/StringToTokens
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/Plot3D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Help/HelpSystem
Common: Plugins/TimePlugIn
Common: Quaternion/AU2Q
Common: Quaternion/Mat2Q
Common: Quaternion/QForm
Common: Quaternion/QMult
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Common: Time/DN2Date
Common: Time/DNString2Date
Common: Time/DTAToDTS
Common: Time/DTSToDTA
Common: Time/Date2DN
Common: Time/Date2JD
Common: Time/FindSolsticeOrEquinox
Common: Time/JD2000
Common: Time/JD2Date
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit
Math: MathUtils/R2P5
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the SC Module page