In [35]:
# imports
from imp import reload
import numpy as np
from astropy import units as u
from frb import experiment as fexp
from frb.frb import FRB
In [15]:
reload(fexp)
chime = fexp.Experiment('CHIME')
chime
Out[15]:
In [9]:
frb1 = FRB(0.6*u.Jy, 350*u.MHz, 500 * u.pc/u.cm**3)
frb1
Out[9]:
In [11]:
frb1.set_width('Wi', 5e-3*u.s)
In [16]:
chime.signal_to_noise(frb1)
Out[16]:
In [18]:
reload(fexp)
gbncc = fexp.Experiment('GBNCC')
gbncc
Out[18]:
In [19]:
gbncc.signal_to_noise(frb1)
Out[19]:
In [34]:
beta = 1.
s2n = 3. # Not specified by Chawla+17
Trec = 23 * u.K
Tsky = 44 * u.K
Wi = 5e-3 * u.s
DM = 756.
G = 2 * u.K / u.Jy
n_p = 2
nchan = 4096
nu_c = 350 * u.MHz
Dnu = 100 *u.MHz
In [40]:
tchan = 8.3e-6 * u.s * (100./nchan) * 1. * 756
tchan
Out[40]:
In [41]:
Wb = np.sqrt(Wi**2 + tchan**2) # Taking tsamp = 0. s
Wb
Out[41]:
In [42]:
sterm = np.sqrt(Wb/n_p/Dnu)
In [43]:
Smin = beta * s2n * (Trec + Tsky) / (G*Wi) * sterm
Smin.to('Jy') # Close to the 0.6 Jy reported by Chawla+17 but not quite
Out[43]:
In [ ]: