A method for implementation of damage detection algorithms for civil structural health monitoring systems