latqcdtools.physics.statisticalPhysics ============= ```Python _printExponent(prefix, exponent): ''' ''' ``` ```Python reweight(X, pRW, p0, S): ''' Reweight an observable X computed at a simulation point p0 to a nearby simulation point pRW. We assume the action depends linearly on the simulation parameter, i.e. S' ~ p S By the way, if you are going to pair this with a jackknife to estimate e.g. where a response function is maximized, make sure you pick enough reweighting points to properly resolve where the maximum is. Args: X (np.array): Measurements to reweight. pRW (float): Reweight to this target. p0 (float): Simulation point. S (np.array): Measurements of the action (extensive) divided by parameter p. ''' ``` ```Python class O2_3d(): ''' 3d O(2) critical exponents from JHEP08 (2016) 036 ''' ``` ```Python class O3_3d(): ''' 3d O(3) critical exponents from JHEP08 (2016) 036 ''' ``` ```Python class O4_3d(): ''' 3d O(4) critical exponents from Nucl. Phys. B 675, 533-554 (2003). ''' ``` ```Python class S3_2d(): ''' Exact solution for 2d S_3 class from Baxter "Exactly Solved Models in Statistical Mechanics" ''' ``` ```Python class S4_2d(): ''' Exact solution for 2d S_4 class from Baxter, "Exactly Solved Models in Statistical Mechanics" ''' ``` ```Python class UniversalityClass(): ''' Skeleton universality class from which all others inherit. ''' ``` ```Python class Z2_2d(): ''' Exact solution for 2d Z_2 class. ''' ``` ```Python class Z2_3d(): ''' 3d Z_2 critical exponents from J. Stat. Phys. 157. 869-914 (2014). ''' ```