Quickstart
In [1]:
Copied!
import numpy as np
import matplotlib.pyplot as plt
from bh_molecule.physics import BHModel
from bh_molecule import dark_theme
import numpy as np
import matplotlib.pyplot as plt
from bh_molecule.physics import BHModel
from bh_molecule import dark_theme
In [2]:
Copied!
model = BHModel()
x = np.linspace(432.8, 434.2, 4000) # nm
y = model.full_fit_model(
x, C=5.0, T_rot=3500, dx=0.0, w_inst=0.02, base=0.0, I_R7=0.04, I_R8=0.03
)
with dark_theme():
plt.plot(x, y)
plt.xlabel("Wavelength (nm)")
plt.ylabel("Intensity (a.u.)")
model = BHModel()
x = np.linspace(432.8, 434.2, 4000) # nm
y = model.full_fit_model(
x, C=5.0, T_rot=3500, dx=0.0, w_inst=0.02, base=0.0, I_R7=0.04, I_R8=0.03
)
with dark_theme():
plt.plot(x, y)
plt.xlabel("Wavelength (nm)")
plt.ylabel("Intensity (a.u.)")