From my study of physics I have arrived at the question of how to classify all maps $\mathbb{T}^2\to S^4$ where $\mathbb{T}^2$ is the two-torus. The classification should be up to homotopies.
The reason I am stuck is that my usual mechanism to classify such maps (the fundamental group) cannot work here because the domain is $\mathbb{T}^2$ and not $S^2$.
I "guess" that the answer is that there are only two classes up to homotopies so that the fundamental group (sort of abuse of terminology as the fundamental group has to classify maps where $S^n$ is the domain, if I understand correctly) is $\mathbb{Z}/2\mathbb{Z}$.
To be concrete, let us parametrize $\mathbb{T}^2\equiv\mathbb{R}^2/\mathbb{Z}^2$ so that we may write $(x,y)\in\mathbb{T}^2$ Thus we are given a continuous map $\mathbb{T}^2\stackrel{d}{\to} S^4;(x,y)\stackrel{d}{\mapsto}d(x,y)\in\mathbb{R}^5$ such that $||d(x,y)||=1$. Given such a map $d$, I would ideally like some formula or clear criterion to put it in either class.
EDIT: After thinking about it some more I realized I want to classify a subset of the maps above, and not the whole space. The subspace is defined by all maps for which $(0.5+x,0.5+y)$ and $(0.5-x,0.5-y)$ for all $(x,y)\in[0,0.5]^2$ go to the same point on the sphere.
SECOND EDIT: After thinking yet some more, let $S\subset\{1,2,3,4,5\}$ such that $|S|\neq0$ be given. Now we assume that $$d_i(0.5-x,0.5-y) = - d_i(0.5+x,0.5+y) \forall i\in S$$ for all $(x,y)\in[0,0.5]^2$ and $$d_i(0.5-x,0.5-y) = + d_i(0.5+x,0.5+y) \forall i\notin S$$ for all $(x,y)\in[0,0.5]^2$
What is the homotopic classification of this set of maps?