Method: RTKIT::DoseVolume#dose_arr

Defined in:
lib/rtkit/dose_volume.rb

#dose_arrObject

Returns the 3D dose pixel NArray retrieved from the #narray method, multiplied with the scaling coefficient, which in effect yields a 3D dose array.



191
192
193
194
# File 'lib/rtkit/dose_volume.rb', line 191

def dose_arr
  # Convert integer array to float array and multiply:
  return narray.to_type(4) * @scaling
end