Railway monitoring and train tracking by fiber Bragg grating sensors