Skip to main content

icmFieldPressureIndex

Stack-weighted bubble pressure on the hero against the remaining field at a given pot size, plus per-seat pairwise bubble factors.

icmFieldPressureIndex(stacks: F64VectorInput, payouts: F64VectorInput, heroIndex: number, potChips: number): IcmFieldPressureIndexResult

heroIndex and potChips are call arguments — they are not fields on the result object. See Float64 ICM input.

Import

const poker = require('poker-calculations');

ESM (Node):

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');

When to use

You need a single field pressure score for the hero at a table, plus which villain seat applies the strongest pairwise bubble factor — for HUDs, study tools, or spot analysis on the money bubble.

How to use

const poker = require('poker-calculations');

const stacks = [12000, 9000, 6000, 3000];
const payouts = [10000, 6000, 3000, 1000];
const heroIndex = 0;

const { index, pairwiseBubbleFactors, argmaxVillain } = poker.icmFieldPressureIndex(
stacks,
payouts,
heroIndex,
500,
);

console.log('Field pressure:', index);
console.log('Strongest villain seat:', argmaxVillain);
console.log('BF vs that seat:', pairwiseBubbleFactors[argmaxVillain]);

Return type

IcmFieldPressureIndexResult.

See also

icmPairwiseBubbleFactor · icmExpectedPayouts · Float64 ICM input