Here is a simple example that might be useful. Basically finding parameters for a given section. Some of the parameters might be assumed at start instead of calibrated.
import QuantLib as ql
import matplotlib.pyplot as plt
import numpy as np
from scipy.optimize import minimize
strikes = [105, 106, 107, 108, 109, 110, 111, 112]
fwd = 120.44
expiryTime = 17/...
The SABR model represents the stochastic evolution of the price of some kind of assets under the measure for which it is a zero-drift martingale. For Forward contracts it's the so called "Forward measure", the one induced using the price of a zero-coupon bond that matures at the forward contract payment date as numeraire.
Now there is a difference ...