I don't recall a built-in way of getting at this, but I could be wrong.
SMC does resampling, which I think means that in the end each particle has the same weight:
This (or rather the log of it) is available as the `normalizationConstant` property on the returned distribution:
So, perhaps you can use this to compute ESS like so?
```
N = 100;
var dist = Infer({particles: N, ...});
var w_i = Math.exp(dist.normalizationConstant);
var ess = ((N*w)^2) / (N*(w^2))
```
This is completely untested and I'm not at all confident that it's correct, but perhaps it will help!
Best,
Paul