Repositories (1)

Backup-of-undergraduate-study-materials
3 snippets stored for this repo
Python IconPython
substances = []
sub_county = {}
combine = {}
fitting = ['Benzylfentanyl', 'Methoxyacetyl fentanyl', 'Cyclopropyl fentanyl', 'Fluoroisobutyryl fentanyl',
           'Butyryl fentanyl', 'Acryl fentanyl', '3-Methylfentanyl', '4-Fluoroisobutyryl fentanyl', 'Acetyl fentanyl',
           'ANPP', 'Carfentanil', 'Codeine', 'Fentanyl', 'Fluoroisobutyryl fentanyl', 'Furanyl fentanyl', 'Mitragynine',
           'Tramadol', 'U-47700']
x = np.arange(1, 13.1, 0.1)
drugs = ['Oxycodone', 'Hydrocodone', 'Heroin', 'Fentanyl', 'Buprenorphine']
substances = {}
Python IconPython
plt.scatter(xx, substances[drugs[3]], s=5)
fentanyl = 0.0001487/(0.0003688+np.exp(-x-0.4123))
plt.plot(x, fentanyl, lw=1, label=drugs[3])