def get_coeffs(sss, ipts)
      idx = ((@jd - sss[0]) / sss[2]).floor  # レコードインデックス
      pos = Const::KSIZE * Const::RECL * (2 + idx)
      recl = 8
      coeffs = Array.new

      begin
        items = (0..(Const::KSIZE / 2) - 1).map do |i|
          File.binread(@bin_path, recl, pos + recl * i).unpack("d*")[0]
        end
        jd_cheb = [items.shift, items.shift]
        ipts.each_with_index do |ipt, i|
          n = i == 11 ? 2 : 3  # 要素数
          ary_1 = Array.new
          ipt[2].times do |j|
            ary_0 = Array.new
            n.times do |k|
              ary_0 << items.shift(ipt[1])
            end
            ary_1 << ary_0
          end
          coeffs << ary_1
        end
        return [coeffs, jd_cheb]
      rescue => e
        raise
      end
    end
def get_coeffs(sss, ipts)
      idx = ((@jd - sss[0]) / sss[2]).floor  # レコードインデックス
      pos = Const::KSIZE * Const::RECL * (2 + idx)
      recl = 8
      coeffs = Array.new

      begin
        items = (0..(Const::KSIZE / 2) - 1).map do |i|
          File.binread(@bin_path, recl, pos + recl * i).unpack("d*")[0]
        end
        jd_cheb = [items.shift, items.shift]
        ipts.each_with_index do |ipt, i|
          n = i == 11 ? 2 : 3  # 要素数
          ary_1 = Array.new
          ipt[2].times do |j|
            ary_0 = Array.new
            n.times do |k|
              ary_0 << items.shift(ipt[1])
            end
            ary_1 << ary_0
          end
          coeffs << ary_1
        end
        return [coeffs, jd_cheb]
      rescue => e
        raise
      end
    end
=========================================================================
 COEFF

 * Set JD(start, end) for Chebyshev polynomial to the array @jd_cheb

 @param: Array of SS
 @param: Array of IPT
 @return: <none>
=========================================================================