The Gibbs ensemble of a vortex filament