Understanding the quality of respiration signal

Hexoskin provides quality assessment channels that allow you to assess the respiration signal quality of your records. To decipher the code used to evaluate the signal quality of the respiration data, please refer to  "breathingtratestatus" in the API documentation

 

Please note that the API will provide you with hexadecimal values for the quality of the signal, and each of those has a specific meaning in terms of quality.

 
 
As you can see in the section "Bits description", it shows that:
0x00 = the signal was of good quality
0x01 = the thoracic RIP band was disconnected (decimal value of 1)
0x02 = the abdominal RIP band was disconnected (decimal value of 2)
0x04 = the thoracic respiration baseline has changed (decimal value of 4)
0x08 = the abdominal respiration baseline has changed (decimal value of 8)
0x10 = the thoracic respiration baseline has high-frequency content (noisy, decimal value of 16)
0x20 = the abdominal respiration baseline has high-frequency content (noisy, decimal value of 32)
0x03 = both respiration bands are disconnected (decimal value of 3)
0x12 = both respiration baselines have changed (decimal value of 6)
0x30 = both respiration signals have high-frequency content (noisy, decimal value of 48)

Please note that overall, if your quality signal is not 0, most likely, your respiration signal quality is quite low.

 

For signal quality data for the respiration signal, please open the "breathing_rate_quality.csv" file of interest. Please note that when you download your record or activity, the .cvs files for quality assessment (_quality.csv) will not display hexadecimal values like the in API documentation (i.e. 0x00, 0x01, 0x02, etc.), but decimal values instead (i.e. 0, 1, 2, etc.).