Learning Time-Invariant Representations for Individual Neurons from Population Dynamics