The Swedish Institute of Space Physics (Swedish: Institutet för rymdfysik, IRF) is a Swedish government agency. The institute's primary task is to carry out basic research, education and associated observatory activities in space physics, space technology and atmospheric physics.