I have a patient breathing and I am constantly sampling gases and pressure from the mouth. I have a signal from gas analyzer (Signal A) telling me concentrations of expired gas and from pressure transducer telling me what part of the breath cycle I am in (Signal B). Signal A is slower than signal B. I want to align them, so that I know exactly what concentraion of gas occurs during which part of the breath. I want to record raw ALIGNED signals (both A and B), but also be able to pick the concentration of expired gas just prior to the start of inspiration and record them on breath-by-breath basis.
Thanks,
Marat