Deterministic mode analysis for InP plasmonic nanowire lasers | Synapse