Hysteresis characterization