Class: Rafflesia::StructureChainCentroidRingMeasurement
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::StructureChainCentroidRingMeasurement
- Defined in:
- lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb
Constant Summary collapse
- HASH_ATTRS =
{ angular_gap_mean_degrees: :angular_gap_mean_degrees, angular_gap_stddev_degrees: :angular_gap_stddev_degrees, angular_gaps_degrees: :angular_gaps_degrees, axial_stddev_angstrom: :axial_stddev_angstrom, axis_direction: :axis_direction, center: :center, maximum_radius_angstrom: :maximum_radius_angstrom, mean_radius_angstrom: :mean_radius_angstrom, metric: :metric, minimum_radius_angstrom: :minimum_radius_angstrom, radius_stddev_angstrom: :radius_stddev_angstrom }.freeze
Instance Attribute Summary collapse
-
#angular_gap_mean_degrees ⇒ Object
Returns the value of attribute angular_gap_mean_degrees.
-
#angular_gap_stddev_degrees ⇒ Object
Returns the value of attribute angular_gap_stddev_degrees.
-
#angular_gaps_degrees ⇒ Object
Returns the value of attribute angular_gaps_degrees.
-
#axial_stddev_angstrom ⇒ Object
Returns the value of attribute axial_stddev_angstrom.
-
#axis_direction ⇒ Object
Returns the value of attribute axis_direction.
-
#center ⇒ Object
Returns the value of attribute center.
-
#maximum_radius_angstrom ⇒ Object
Returns the value of attribute maximum_radius_angstrom.
-
#mean_radius_angstrom ⇒ Object
Returns the value of attribute mean_radius_angstrom.
-
#metric ⇒ Object
Returns the value of attribute metric.
-
#minimum_radius_angstrom ⇒ Object
Returns the value of attribute minimum_radius_angstrom.
-
#radius_stddev_angstrom ⇒ Object
Returns the value of attribute radius_stddev_angstrom.
Instance Method Summary collapse
-
#initialize(json) ⇒ StructureChainCentroidRingMeasurement
constructor
A new instance of StructureChainCentroidRingMeasurement.
Constructor Details
#initialize(json) ⇒ StructureChainCentroidRingMeasurement
Returns a new instance of StructureChainCentroidRingMeasurement.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @angular_gap_mean_degrees = hash[:angular_gap_mean_degrees] @angular_gap_stddev_degrees = hash[:angular_gap_stddev_degrees] @angular_gaps_degrees = (hash[:angular_gaps_degrees] || []) @axial_stddev_angstrom = hash[:axial_stddev_angstrom] @axis_direction = (hash[:axis_direction] || []) @center = (hash[:center] || []) @maximum_radius_angstrom = hash[:maximum_radius_angstrom] @mean_radius_angstrom = hash[:mean_radius_angstrom] @metric = hash[:metric] @minimum_radius_angstrom = hash[:minimum_radius_angstrom] @radius_stddev_angstrom = hash[:radius_stddev_angstrom] end |
Instance Attribute Details
#angular_gap_mean_degrees ⇒ Object
Returns the value of attribute angular_gap_mean_degrees.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def angular_gap_mean_degrees @angular_gap_mean_degrees end |
#angular_gap_stddev_degrees ⇒ Object
Returns the value of attribute angular_gap_stddev_degrees.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def angular_gap_stddev_degrees @angular_gap_stddev_degrees end |
#angular_gaps_degrees ⇒ Object
Returns the value of attribute angular_gaps_degrees.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def angular_gaps_degrees @angular_gaps_degrees end |
#axial_stddev_angstrom ⇒ Object
Returns the value of attribute axial_stddev_angstrom.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def axial_stddev_angstrom @axial_stddev_angstrom end |
#axis_direction ⇒ Object
Returns the value of attribute axis_direction.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def axis_direction @axis_direction end |
#center ⇒ Object
Returns the value of attribute center.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def center @center end |
#maximum_radius_angstrom ⇒ Object
Returns the value of attribute maximum_radius_angstrom.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def maximum_radius_angstrom @maximum_radius_angstrom end |
#mean_radius_angstrom ⇒ Object
Returns the value of attribute mean_radius_angstrom.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def mean_radius_angstrom @mean_radius_angstrom end |
#metric ⇒ Object
Returns the value of attribute metric.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def metric @metric end |
#minimum_radius_angstrom ⇒ Object
Returns the value of attribute minimum_radius_angstrom.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def minimum_radius_angstrom @minimum_radius_angstrom end |
#radius_stddev_angstrom ⇒ Object
Returns the value of attribute radius_stddev_angstrom.
22 23 24 |
# File 'lib/rafflesia/proteins/structure_chain_centroid_ring_measurement.rb', line 22 def radius_stddev_angstrom @radius_stddev_angstrom end |