Magneto optics of an electron system with variable dimensionality