Measuring magnetic field texture in correlated electron systems under extreme conditions