njit-etd2003-081 - New Jersey Institute of Technology
njit-etd2003-081 - New Jersey Institute of Technology njit-etd2003-081 - New Jersey Institute of Technology
247 As an example, the procedure of the cross-spectral analysis using a data file of a COPD subject in text format acquired using the National Instrument data acquisition system, saved as file name agu1baseline.txt is presented below: 1) Find the data acquisition sampling frequency, sf, of the data file. Use WinEdit or Notepad to open the data file. A single integer number on line 1 of the data file is the sampling frequency of the file. Record this number for reference. In all studies used for this dissertation, the sampling frequency is 200 samples per second. 2) Next, the information of what signal on what channel is needed. Click on the LabVIEW icon to start running LabVIEW. The National Instrument LabVIEW dialog box opens. Click on Open VI bar to select the data file to load. The Choose the VI to open: dialog box opens. Click on the down arrow of the Look in: bar to navigate the windows directory and select the VI program. Double click to select 4dsp.vi. The 4dsp.vi front panel is displayed. Click on the right arrow on the command bar to run the LabVIEW (4dsp.vi) program. The choose file to read dialog box appears. Use the down arrow button in the Look in: bar to navigate the directory to select the data file to be analyzed (in the example, the data file is agu1baseleine.txt). Double click on the data file name to run the program. 3) In a few seconds, the plots of all four data signals are displayed. Resize the x-axis on each plot to zoom in to a small section of the signal. Record the signals and their channel numbers for reference. (In the example, the channels are shown below) Signal Channel CO2 0 BP 1 Resp 2 ECG 3
248 4) Click on file, close to exit the 4dsp.vi program. Click No when the save changes dialog box appears. 5) Click on open VI of the LabVIEW dialog box. Use the down arrow button of the Look in: task bar to select partcoh3.11b library of LabVIEW programs. Use the mouse to move the up/down bar until the partial coherence betwn HR, BP & RESP vi file appears. Double click on this file to run the LabVIEW program. 6) Enter the SF, ECG, BP and RESP in the text boxes on the front panel with the information obtained in steps 1 and 3 above. Click the right arrow on the command bar to run the program. 7) The Choose file to read dialog box appears. Use the down arrow button of the Look in: task bar to select the data file (agu1baseline.txt) to be analyzed. 8) After a few seconds, the heart rate IIBI and the ECG plots of the Correct.vi appears. Move the yellow cursor inside the }IR IIBI plot to the end of the HR IIBI signal then click the MOVE button to see any missed or false R wave detection. Use the blue cursor inside the ECG correction plot to manually remove or correct the false R wave detection indicated by the white bar under each ECG R-wave. Click the round green Done button when done. 9) The Choose HR IIBI file to write dialog box appears. Enter the HR IIBI ASCII file name (agu1baselineHR.asc) in the file name field then click the save button. 10) The Choose BP IIBI file to write dialog box appears. Enter the BP IIBI ASCII file name (agu1baselineBP.asc) in the file name field then click the save button. 11) The panel partial coherence HR-BP-RESP.vi appears. Move all the red cursors (Cur 0) to 0.04 Hz positions and all the blue cursors (cur 1) to position 0.15 Hz of the
- Page 225 and 226: 196 Figure 5.38 Sympathetic and par
- Page 227 and 228: 198 Figure 5.42 Sympathetic and par
- Page 229 and 230: Figure 5.44 Plot of raw respiration
- Page 231 and 232: Figure 5.46 The LF partial coherenc
- Page 233 and 234: Figure 5.48 HF partial coherence pl
- Page 235 and 236: Table 5.2 Cross-Spectral Analysis o
- Page 237 and 238: Table 5.3 Cross-Spectral Analysis o
- Page 239 and 240: Figure 5.50 HF coherence of COPD (1
- Page 241 and 242: 212 For better presentation of the
- Page 243 and 244: Figure 5.53 Coherence and partial c
- Page 245 and 246: 216 2. Interpretation of the transf
- Page 247 and 248: 218 covariances of the parameters,
- Page 249 and 250: 220 deviations are interpreted as A
- Page 251 and 252: 222 Figure 5.58 Bode plot of the HR
- Page 253 and 254: 224 In this section a simple model
- Page 255 and 256: 226 The data for all 47 COPD subjec
- Page 257 and 258: 228 Figure 5.60 Normal and COPD cla
- Page 259 and 260: 230 Figure 5.61 Normal and COPD cla
- Page 261 and 262: 232 Figure 5.62 Normal classificati
- Page 263 and 264: 234 5.7 Cluster Analysis The purpos
- Page 265 and 266: 236 Figure 5.64 Severity classifica
- Page 267 and 268: 238 both the normal and COPD subjec
- Page 269 and 270: 240 In summary, COPD subjects had h
- Page 271 and 272: APPENDIX A EXERCISE PHYSIOLOGY A.1
- Page 273 and 274: 244 A.3 Figure Out Your Target Hear
- Page 275: APPENDIX B ANALYSIS PROGRAM LISTING
- Page 279 and 280: 250 • TN 11
- Page 281 and 282: 252 B.1.2 Partial Coherence Between
- Page 283 and 284: 254
- Page 285 and 286: 256 Block Diagram !rime of record K
- Page 287 and 288: 258
- Page 289 and 290: 260 B.2.2 Time — Frequency Analys
- Page 291 and 292: 262 This program provides the STFT
- Page 293 and 294: 264 G(:j+1)=G(:,j+1)/(2*sum(G(:j+1)
- Page 295 and 296: 266 T=(length(Signa)/sample)/(Times
- Page 297 and 298: 268 subplot(3, 1,3), plot(T,E); xla
- Page 299 and 300: 270 4. The program creates five out
- Page 301 and 302: 272 B.2.3.4 Program to Generate Sym
- Page 303 and 304: 274 ylabel('frequency'); title('Ins
- Page 305 and 306: 276 The program will run and output
- Page 307 and 308: 278 axis([0 1 0 2]); grid on; xlabe
- Page 309 and 310: 280 vagal=sum(TFDs(HFC,1:k)); symto
- Page 311 and 312: 282 plot(J,symtopar); %plot(A,symto
- Page 313 and 314: 284 4. Remove the constant levels a
- Page 315 and 316: 286 Make sure the agreement is quit
- Page 317 and 318: 288 B.2.6 Principal Components Anal
- Page 319 and 320: 290 Columns 12 through 15 'LF_pcoh_
- Page 321 and 322: 292 I= 1.0000 -0.0000 -0.0000 -0.00
- Page 323 and 324: 294 variances = 3.4083 1.2140 1.141
- Page 325 and 326: 296 B.2.7 Cluster Analysis Program
247<br />
As an example, the procedure <strong>of</strong> the cross-spectral analysis using a data file <strong>of</strong> a<br />
COPD subject in text format acquired using the National Instrument data acquisition<br />
system, saved as file name agu1baseline.txt is presented below:<br />
1) Find the data acquisition sampling frequency, sf, <strong>of</strong> the data file. Use WinEdit or<br />
Notepad to open the data file. A single integer number on line 1 <strong>of</strong> the data file is the<br />
sampling frequency <strong>of</strong> the file. Record this number for reference. In all studies used for<br />
this dissertation, the sampling frequency is 200 samples per second.<br />
2) Next, the information <strong>of</strong> what signal on what channel is needed. Click on the<br />
LabVIEW icon to start running LabVIEW. The National Instrument LabVIEW dialog<br />
box opens. Click on Open VI bar to select the data file to load. The Choose the VI to<br />
open: dialog box opens. Click on the down arrow <strong>of</strong> the Look in: bar to navigate the<br />
windows directory and select the VI program. Double click to select 4dsp.vi. The<br />
4dsp.vi front panel is displayed. Click on the right arrow on the command bar to run the<br />
LabVIEW (4dsp.vi) program. The choose file to read dialog box appears. Use the down<br />
arrow button in the Look in: bar to navigate the directory to select the data file to be<br />
analyzed (in the example, the data file is agu1baseleine.txt). Double click on the data file<br />
name to run the program.<br />
3) In a few seconds, the plots <strong>of</strong> all four data signals are displayed. Resize the x-axis<br />
on each plot to zoom in to a small section <strong>of</strong> the signal. Record the signals and their<br />
channel numbers for reference. (In the example, the channels are shown below)<br />
Signal Channel<br />
CO2 0<br />
BP 1<br />
Resp 2<br />
ECG 3