classdef (CaseInsensitiveProperties = true, TruncatedProperties = true) ...
      ModalTruncationOptions < ltioptions.modalsep & matlab.mixin.CustomDisplay
   % Options for model reduction with dense Modal Truncation method.
   %
   %   ModeOnly       Only compute modes (default = false).
   %                  When ModeOnly=true, only the pole locations are computed.
   %                  When ModeOnly=false, the modal components and their
   %                  contributions are also available for mode selection.
   %
   %   DCFrequency    Frequency for DC contribution/matching (default = 0).
   %                  For models with integrators, modal contributions can't
   %                  be evaluated at DC since the DC gain is infinite. Set
   %                  DCFrequency to a positive value to evaluate modal
   %                  contributions and match gains at a different frequency. 
   %                  The default value corresponds to the true DC value.
   %
   %   InputScaling   Input and output scaling (default = []).
   %   OutputScaling  Use these options to emphasize specific input and output
   %                  channels in MIMO models. The modal (DC) contributions 
   %                  are evaluated for the scaled system. The default is no
   %                  scaling.
   %
   %   SepTol         Relative accuracy of modal decomposition (default=1e-12).
   %                  Limits the condition number of the block diagonalizing
   %                  transformation to roughly SepTol/eps. Increasing SepTol
   %                  may yield smaller modal components at the expense of
   %                  accuracy.

   %  Copyright 2020-2023 The MathWorks, Inc.
   properties
      ModeOnly (1,1) logical = false;
   end
   
   methods (Access = protected)
      % Reorder properties
      function propgrp = getPropertyGroups(~)
         proplist = {'ModeOnly','DCFrequency','InputScaling','OutputScaling','SepTol'};
         propgrp = matlab.mixin.util.PropertyGroup(proplist);
      end
   end
      
end

