Class: SeisRuby::Data::Cmtsolution::Centroid
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- SeisRuby::Data::Cmtsolution::Centroid
- Defined in:
- lib/seis_ruby/data/cmtsolution.rb
Constant Summary collapse
- FIELDS =
[ # name, converter [:event_name, :strip], [:time_shift, :to_f ], [:half_duration, :to_f ], [:latitude, :to_f ], [:longitude, :to_f ], [:depth, :to_f ], [:mrr, :to_f ], [:mtt, :to_f ], [:mpp, :to_f ], [:mrt, :to_f ], [:mrp, :to_f ], [:mtp, :to_f ], ]
Instance Attribute Summary collapse
-
#table ⇒ Object
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(lines) ⇒ Centroid
constructor
A new instance of Centroid.
Constructor Details
Instance Attribute Details
#table ⇒ Object
Returns the value of attribute table.
67 68 69 |
# File 'lib/seis_ruby/data/cmtsolution.rb', line 67 def table @table end |