lots of modifications for axon stim TF STP analysis