Hi Sarah,
The following script pulls both physical and digital values for the HPos
signal from the first EDF on HCHS. It's not returning any values like those you indicated. My guess is that you are somehow transforming the values from the HPos signal? What language or tool are you using to process the EDFs?
# get_hpos_value.rb
require "rubygems"
require "edfize"
edf = Edfize::Edf.new("hchs-sol-00011596.edf")
edf.load_signals
signal = edf.signals.find { |s| s.label == "HPos" }
puts "Signal"
puts " Label : #{signal.label}"
puts " Unique Physical Values : #{(signal.physical_values.uniq.sort).inspect}"
puts " Unique Digital Values : #{(signal.digital_values.uniq.sort).inspect}\n\n"
Output of ruby get_hpos_value.rb
Signal
Label : HPos
Unique Physical Values : [0.0, 1.0, 2.0, 3.0, 4.0, 6.0]
Unique Digital Values : [0, 1, 2, 3, 4, 6]
From @mrueschman, these values correspond to:
1 = S (Supine)
2 = LL (Lateral Left)
3 = LR (Lateral Right)
4 = PL (Prone Left)
5 = PR (Prone Right)
6 = U (Upright)
The first value 0 is most likely is the initialization value.
Edit: It seems like you may be doing the following somewhere in your code: (signal_value / 10 - 0.5)