Methodology for determine the moment of disconnection of patients of the mechanical ventilation using discrete wavelet transform