Class: Wrnap::Package::FftEq
- Defined in:
- lib/wrnap/package/fft_eq.rb
Instance Attribute Summary collapse
-
#equilibrium ⇒ Object
readonly
Returns the value of attribute equilibrium.
Attributes inherited from Base
#data, #flags, #response, #runtime
Instance Method Summary collapse
Methods inherited from FftEqBase
Methods inherited from Base
bootstrap, #debugger, #initialize, #inspect
Methods included from Global::Yaml
Methods included from Global::Chainer
Methods included from Global::Runner
Constructor Details
This class inherits a constructor from Wrnap::Package::Base
Instance Attribute Details
#equilibrium ⇒ Object (readonly)
Returns the value of attribute equilibrium.
4 5 6 |
# File 'lib/wrnap/package/fft_eq.rb', line 4 def equilibrium @equilibrium end |
Instance Method Details
#post_process ⇒ Object
15 16 17 |
# File 'lib/wrnap/package/fft_eq.rb', line 15 def post_process @equilibrium = (response.empty? || response =~ /Infinity/ ? -1 : 10 ** response.strip.to_f) end |