The electromagnetic spectrum is defined as