Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5806

Docs for StatisticsAcceptFilter and StatisticsRejectFilter

    Details

      Description

      XML docs

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            tdnguyen Tuan Nguyen added a comment -

            It needs to make some change in 2 scripts in pages 620 and 621:

            The first script needs to change as shown below due to AND is applied to multiple selection criteria.

            Create GroundStation GDS;
            Create StatisticsRejectFilter srf;
            srf.Trackers =

            {'GDS'};
            srf.Observers = {'All'}; % add this line
            srf.FileNames = {'All'}; % add this line
            srf.DataTypes = {'All'}; % add this line
            Create TrackingFileSet estData;
            estData.DataFilters = {srf};
            BeginMissionSequence;

            The second script has the same reason.
            Create GroundStation GDS CAN;
            Create StatisticsRejectFilter srf1;
            Create StatisticsRejectFilter srf2;

            srf1.Trackers = {'GDS'}

            ;
            srf1.DataTypes =

            {'Doppler_HZ'}

            ;
            srf1.FileNames =

            {'All'}; % add this line
            srf1.ObservedObjects = {'All'}

            ; % add this line

            srf2.Trackers =

            {'CAN'}

            ;
            srf2.DataTypes =

            {'All'}; % add this line
            srf2.FileNames = {'All'}

            ; % add this line
            srf2.ObservedObjects =

            {'All'}

            ; % add this line

            Create TrackingFileSet estData;
            estData.DataFilters =

            {srf1, srf2}

            ;
            BeginMissionSequence;

            Show
            tdnguyen Tuan Nguyen added a comment - It needs to make some change in 2 scripts in pages 620 and 621: The first script needs to change as shown below due to AND is applied to multiple selection criteria. Create GroundStation GDS; Create StatisticsRejectFilter srf; srf.Trackers = {'GDS'}; srf.Observers = {'All'}; % add this line srf.FileNames = {'All'}; % add this line srf.DataTypes = {'All'}; % add this line Create TrackingFileSet estData; estData.DataFilters = {srf}; BeginMissionSequence; The second script has the same reason. Create GroundStation GDS CAN; Create StatisticsRejectFilter srf1; Create StatisticsRejectFilter srf2; srf1.Trackers = {'GDS'} ; srf1.DataTypes = {'Doppler_HZ'} ; srf1.FileNames = {'All'}; % add this line srf1.ObservedObjects = {'All'} ; % add this line srf2.Trackers = {'CAN'} ; srf2.DataTypes = {'All'}; % add this line srf2.FileNames = {'All'} ; % add this line srf2.ObservedObjects = {'All'} ; % add this line Create TrackingFileSet estData; estData.DataFilters = {srf1, srf2} ; BeginMissionSequence;
            Hide
            tdnguyen Tuan Nguyen added a comment -

            pass to Steven Slojkowski for review.

            Show
            tdnguyen Tuan Nguyen added a comment - pass to Steven Slojkowski for review.
            Hide
            dcooley Steve Cooley added a comment - - edited

            Note to SES: Tuan's suggested changes are needed because we are going to change (fix) the default values for StatisticsRejectFilter.

            The fix for the default values may cause some regression tests to fail.

            Show
            dcooley Steve Cooley added a comment - - edited Note to SES: Tuan's suggested changes are needed because we are going to change (fix) the default values for StatisticsRejectFilter. The fix for the default values may cause some regression tests to fail.
            Hide
            sslojkowski Steven Slojkowski added a comment -

            Perhaps it's a matter of taste, but I think I prefer the prior defaults. The syntax of

            
            Create GroundStation GDS;
            Create StatisticsRejectFilter srf;
            
            srf.Trackers   = {'GDS'};
            
            Create TrackingFileSet estData;
            estData.DataFilters = {srf};
            
            

            Is terser than what is required under the proposed change. You have only to specify the minimum editing criteria.

            Show
            sslojkowski Steven Slojkowski added a comment - Perhaps it's a matter of taste, but I think I prefer the prior defaults. The syntax of Create GroundStation GDS; Create StatisticsRejectFilter srf; srf.Trackers = {'GDS'}; Create TrackingFileSet estData; estData.DataFilters = {srf}; Is terser than what is required under the proposed change. You have only to specify the minimum editing criteria.
            Hide
            dcooley Steve Cooley added a comment -

            Team agreed to change defaults to All. Docs updated.

            Show
            dcooley Steve Cooley added a comment - Team agreed to change defaults to All. Docs updated.

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: