lib/mcg/signal_analysis/sar_indexes.rb
def to_llo_x()
          llo = to_llo

          op = analysis(Analysis::APS_NAME, primary_lead_name())
          llo << op.index(Index::APS_C1_NAME).value.to_f
          llo << op.index(Index::APS_C2_NAME).value.to_f
          llo << op.index(Index::APS_C3_NAME).value.to_f

          op = analysis(Analysis::APS_NAME, secondary_lead_name())
          llo << op.index(Index::APS_C1_NAME).value.to_f
          llo << op.index(Index::APS_C2_NAME).value.to_f
          llo << op.index(Index::APS_C3_NAME).value.to_f

          op = analysis(Analysis::PSA_NAME, lead_pair_name())
          llo << op.index(Index::PSA_D1_NAME).value.to_i
          llo << op.index(Index::PSA_D2_NAME).value.to_i
          llo << op.index(Index::PSA_D3_NAME).value.to_i

          op = analysis(Analysis::IMR_NAME, lead_pair_name())
          llo << op.index(Index::IMR_B1_NAME).value.to_i
          llo << op.index(Index::IMR_B2_NAME).value.to_i

          op = analysis(Analysis::CCR_NAME, lead_pair_name())
          llo << op.index(Index::CCR_S1_NAME).value.to_i
          llo << op.index(Index::CCR_S2_NAME).value.to_i
          llo << op.index(Index::CCR_S3_NAME).value.to_i
          llo << op.index(Index::CCR_S4_NAME).value.to_i
          llo << op.index(Index::CCR_S5_NAME).value.to_i

          llo
        end
Generate an extended-llo array. 
Generate an extended-llo array.
Generate an extended - llo array .
def to_llo_x()
          llo = to_llo
          op = analysis(Analysis::APS_NAME, primary_lead_name())
          llo << op.index(Index::APS_C1_NAME).value.to_f
          llo << op.index(Index::APS_C2_NAME).value.to_f
          llo << op.index(Index::APS_C3_NAME).value.to_f
          op = analysis(Analysis::APS_NAME, secondary_lead_name())
          llo << op.index(Index::APS_C1_NAME).value.to_f
          llo << op.index(Index::APS_C2_NAME).value.to_f
          llo << op.index(Index::APS_C3_NAME).value.to_f
          op = analysis(Analysis::PSA_NAME, lead_pair_name())
          llo << op.index(Index::PSA_D1_NAME).value.to_i
          llo << op.index(Index::PSA_D2_NAME).value.to_i
          llo << op.index(Index::PSA_D3_NAME).value.to_i
          op = analysis(Analysis::IMR_NAME, lead_pair_name())
          llo << op.index(Index::IMR_B1_NAME).value.to_i
          llo << op.index(Index::IMR_B2_NAME).value.to_i
          op = analysis(Analysis::CCR_NAME, lead_pair_name())
          llo << op.index(Index::CCR_S1_NAME).value.to_i
          llo << op.index(Index::CCR_S2_NAME).value.to_i
          llo << op.index(Index::CCR_S3_NAME).value.to_i
          llo << op.index(Index::CCR_S4_NAME).value.to_i
          llo << op.index(Index::CCR_S5_NAME).value.to_i
          llo
        end
def to_llo_x ( ) llo = to_llo op = analysis ( Analysis :: APS_NAME , primary_lead_name ( ) ) llo << op . index ( Index :: APS_C1_NAME ) . value . to_f llo << op . index ( Index :: APS_C2_NAME ) . value . to_f llo << op . index ( Index :: APS_C3_NAME ) . value . to_f op = analysis ( Analysis :: APS_NAME , secondary_lead_name ( ) ) llo << op . index ( Index :: APS_C1_NAME ) . value . to_f llo << op . index ( Index :: APS_C2_NAME ) . value . to_f llo << op . index ( Index :: APS_C3_NAME ) . value . to_f op = analysis ( Analysis :: PSA_NAME , lead_pair_name ( ) ) llo << op . index ( Index :: PSA_D1_NAME ) . value . to_i llo << op . index ( Index :: PSA_D2_NAME ) . value . to_i llo << op . index ( Index :: PSA_D3_NAME ) . value . to_i op = analysis ( Analysis :: IMR_NAME , lead_pair_name ( ) ) llo << op . index ( Index :: IMR_B1_NAME ) . value . to_i llo << op . index ( Index :: IMR_B2_NAME ) . value . to_i op = analysis ( Analysis :: CCR_NAME , lead_pair_name ( ) ) llo << op . index ( Index :: CCR_S1_NAME ) . value . to_i llo << op . index ( Index :: CCR_S2_NAME ) . value . to_i llo << op . index ( Index :: CCR_S3_NAME ) . value . to_i llo << op . index ( Index :: CCR_S4_NAME ) . value . to_i llo << op . index ( Index :: CCR_S5_NAME ) . value . to_i llo end
Generate an extended-llo array.
Generate an extended - llo array .