Magnetic phases in the CoMn-based amorphous alloys