Frame-count switching in Raman acquisition-budget sensitivity occurs when a different integer number of exposure pairs becomes optimal as the available time changes. For each feasible pair count , let be the minimum predicted ratio variance after optimizing its live exposures. The complete design is
The marginal value of unused time below a Raman frame cap gives slopes for a fixed . At a branch switch, those slopes need not be the derivative of the lower envelope on both sides.
A simple original example uses equal shot-noise coefficients , readout duration per frame and cap per exposure. Equal on/off totals are optimal, giving
Take , and . Two pairs saturate their live-time capacity once . Three pairs have live time near this budget. Their variances agree at
Just below this value the two-pair variance is the constant . Just above it the three-pair variance is and begins decreasing. One pair has lower exposure capacity, while four or more pairs incur more readout and have less useful live time near the switch, so these two branches determine the global optimum there.
The one-sided derivatives at an optimal Raman frame-count switch are zero on the left and on the right. The optimal variance is continuous at this switch, but has a kink. At two pairs give ; at three pairs give about . Extra time becomes useful again after the discrete design changes, despite the previous fixed-count plateau.
The primary Raman experiment's saturation-limited exposures and shuttered on/off readout motivate these competing resources.[ref] The example uses chosen rounded timings. Read noise, drift and switching requirements can move the branch crossings and must be included when choosing an actual acquisition protocol.
Joint time-and-readout perturbations at a Raman design tie describe the directional response of the best acquisition variance when both available wall time and per-frame readout cost change. A tie generally has different derivatives on opposite sides, so there need not be one gradient for the optimum. The active branch derivatives must be combined along the actual perturbation direction.
Use the original balanced-noise model in one-sided derivatives at an optimal Raman frame-count switch. With , per-exposure cap and readout , the locally competing branches are
They tie along . At , define . The three-pair branch is locally constant, while the four-pair gradient is .
For a path , with , the optimum has directional derivative
The sign of the net live-time change selects the improving branch. This conclusion assumes the branches remain feasible and nonactive designs have a positive value gap nearby.
For original finite examples, adding8ms of budget while adding1ms to each readout leaves exactly unchanged, so these two branches remain tied. Adding10ms while adding1ms per readout increases that live time by2ms: the four-pair variance becomes , below the three-pair value . The first-order improvement is . Adding only6ms with the same readout increase instead makes the four-pair branch worse; the three-pair optimum remains unchanged locally.
The resource distinction has a physical motivation. The primary stimulated-Raman experiment used alternating pump states and shuttered detector readout; its exposure and readout intervals were separate parts of the acquisition sequence.[ref] The rounded timings and noise parameter above are a mathematical planning example, not that instrument's measured values. Changing exposure caps, state-switching costs or noise terms requires the corresponding branch model to be recomputed.