Created spectrum class