A test of how to generate and fit Synchrotron spectra to observations using the naima package.


In [4]:
from naima.models import PowerLaw, Synchrotron
from astropy.constants import c
import astropy.units as u
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

In [ ]: