In [1]:
#%matplotlib notebook
In [8]:
# imports
from pkg_resources import resource_filename
from matplotlib import pyplot as plt
import numpy as np
from frb.galaxies import frbgalaxy
from frb import frb
from frb.figures import galaxies as ffgal
from frb.figures import utils as ffutils
In [3]:
host121102 = frbgalaxy.FRBHost.by_name('121102')
In [4]:
host121102.z
Out[4]:
In [5]:
host121102.morphology
Out[5]:
In [6]:
host121102.neb_lines
Out[6]:
In [9]:
ffutils.set_mplrc()
plt.clf()
ax = plt.gca()
ffgal.sub_bpt(ax, [host121102], ['b'], ['*'], show_kewley=True)
plt.show()
In [10]:
frb180924 = frb.FRB.by_name('FRB180924')
In [11]:
hg180924 = frb180924.grab_host()
In [12]:
hg180924.derived
Out[12]:
In [14]:
meta, spec = hg180924.get_metaspec()
In [15]:
meta
Out[15]:
In [16]:
spec.plot()
In [ ]: