Spectral-density conversion between wavelength and Raman shift preserves the integrated physical quantity while changing its horizontal coordinate. Fix the excitation wavelength , and let be the Raman shift. Using numerical vacuum wavelengths in nanometres and shifts in ,Let denote detected counts per nanometre and counts per unit Raman shift. Conservation of counts under a change of variables givesThe conversion factor carries the corresponding density-unit change. The same argument applies to calibrated power densities, provided both sides describe the same quantity.
For an original narrow bin centred at , a count density of per nanometre becomes per . A one-nanometre bin there spans approximately , so its integrated count remains about . At , the same wavelength density becomes per . Relabeling bin positions without adjusting the density would conceal this coordinate dependence.
For finite bins, use their exact transformed edges and preserve each bin's integral. Raman spectral rebinning with conserved integrated counts distinguishes this operation from interpolating peak heights onto a new grid. Instrument response correction is another step; the Jacobian alone does not calibrate detector sensitivity or remove background.
The primary FSRS apparatus calibrated Raman shifts using known solvent lines and dispersed the probe spectrum onto an array.[ref]
Femtosecond Broadband Stimulated Raman: A New Approach for High-Performance Vibrational Spectroscopy by David W. McCamant and others. Instrumentation/Figure 2, spectral detection and absolute-shift calibration
Its dimensionless Raman pump-on pump-off gain ratio is a different observable: a ratio of matched spectral densities can cancel their common coordinate factor. It should not be treated as a count density merely because it is plotted against Raman shift.Raman spectral rebinning with conserved integrated counts redistributes finite-bin measurements onto a new spectral grid while preserving their summed quantity over the same covered range. It is different from relabeling bin centres or interpolating peak heights. The parent spectral-density conversion between wavelength and Raman shift derives the continuous Jacobian; finite bins require a stated assumption about unresolved variation inside each bin.
For an original piecewise-constant wavelength-density model, let old bin have width and count . Invert the new Raman-shift edges to wavelength intervals . Define the overlap matrixWhen the new bins partition the old covered range, , hence . Clipping the new range instead excludes the corresponding counts and must be reported.
For original old wavelength bins and with counts and , choose new edges corresponding to wavelengths , , and . ThenThe total remains . A different within-bin model can distribute that total differently; the original measurements do not resolve every sub-bin feature.
Covariance of count-conserving rebinned Raman channels transforms as for this fixed linear operation. Fractional rebinned estimates are therefore not automatically independent Poisson photon counts. Splitting one measured bin among neighbours creates shared uncertainty; finer output pixels do not create additional spectral resolution.
The primary FSRS instrument records a dispersed spectrum on an array and calibrates its Raman-shift axis.[ref]
Femtosecond Broadband Stimulated Raman: A New Approach for High-Performance Vibrational Spectroscopy by David W. McCamant and others. Instrumentation/Figure 2 and absolute-shift calibration; Data Collection
The overlap algorithm above is an original illustrative reconstruction, not a claim about that instrument's published processing. Apply radiometric response and background corrections consistently with the quantity whose integral is being conserved.The covariance of count-conserving rebinned Raman channels records the shared noise created when one measured channel contributes to several output channels. For a fixed deterministic rebinning matrix and an input count vector with covariance matrix , the output is andThis identity needs finite second moments, not a Gaussian approximation. Raman spectral rebinning with conserved integrated counts describes the count-preserving map; retaining its full covariance matrix is necessary for uncertainties of sums and fitted spectral features.[ref]
Consider independent input counts with means and and Poisson distribution variances equal to those means. Split them deterministically usingThe three output means are . Their total has variance , exactly the original total variance, and standard deviation . Keeping only diagonal entries would give variance and standard deviation about , understating the uncertainty of the conserved total.
The rank deficiency from deterministic spectral upsampling is visible without matrix inversion: the vector has zero output contrast for every possible input. Three displayed channels therefore contain at most two independent degrees of freedom in this model. Fractional redistribution creates correlated numerical channels; it is different from physically assigning each detected photon randomly to one new channel.
The primary stimulated-Raman apparatus records spectra with array detectors and calibrates their spectral coordinates.[ref]
Femtosecond Broadband Stimulated Raman: A New Approach for High-Performance Vibrational Spectroscopy by David W. McCamant and others. Instrumentation, array detection and frequency-shift calibration; Data Collection, equation 4
When those data are placed on a new spectral grid, the original detector counts remain the source of statistical information. Additional interpolation points do not supply independent photon measurements.Rank deficiency from deterministic spectral upsampling occurs because a deterministic map cannot manufacture independent measurements. For and input covariance matrix ,When the output has more channels than the input, its covariance matrix is necessarily singular. Covariance of count-conserving rebinned Raman channels gives the conserved-count example and its full propagated uncertainty.[ref]
Using that parent's two-to-three channel map, the output always satisfies . If the input readings are and , the rebinned vector is . Recovering the original readings as and shows that the third displayed number is not a third independent observation.
For an original fitting example, suppose both input means equal an unknown and their independent measurement-error variances are known to be . Fitting in the original channels gives , with variance . A correct generalized least squares fit after rebinning gives the same result and uncertainty. It must use the singular covariance on its supported range, for example through the Moore-Penrose inverse, together with the exact linear constraints.
The range restriction in singular-covariance spectral fitting matters if a proposed output model fails those constraints. A residual along cannot arise from this rebinning model at all. Merely inserting a pseudoinverse into a quadratic objective would assign zero penalty to that impossible direction. Either enforce the range condition or supply a physically justified additional noise model; adding a small diagonal term solely to make the matrix invertible changes the statistical assumptions.
The motivating Raman apparatus measures detector-array spectra before any subsequent numerical grid change.[ref]
Femtosecond Broadband Stimulated Raman: A New Approach for High-Performance Vibrational Spectroscopy by David W. McCamant and others. Instrumentation, array detection and spectral calibration; Data Collection, equation 4
Working on the original grid often avoids this singular fitting problem while retaining the actual measurement information.Range restriction in singular-covariance spectral fitting requires a residual to lie in the subspace where the measurement model allows random error. Let with zero-mean error covariance . Every vector in the kernel of satisfiesso almost surely. Thus a permissible residual obeyswhere is the Moore-Penrose inverse. The matrix is the orthogonal projector onto the range of the covariance.
Only after enforcing this condition should a generalized least squares objective use . The quadratic form alone assigns zero penalty to the forbidden directions and therefore cannot impose the condition. Rank deficiency from deterministic spectral upsampling gives its physical spectral-grid origin through . Covariance propagation preserves those exact dependencies.[ref]
For an original idealized two-channel example, take , mean and observation . The second channel has no random error in this stipulated model, so the range condition forces . The remaining squared residual is one. Minimizing only the pseudoinverse quadratic would instead choose and objective zero, while predicting the impossible second-channel value six.
Real measurements need not contain a perfect channel: deterministic rebinning produces exact noise-free combinations of otherwise noisy channels. Additional physical noise in such a combination must be modelled if present. If covariance ranges change with the parameters, pseudoinverse fitting with a parameter-dependent covariance range requires enforcing the appropriate support for each candidate; a single fixed projection need not apply.
Raman detector-array spectra are recorded before numerical redistribution onto another spectral grid.[ref]
Femtosecond Broadband Stimulated Raman: A New Approach for High-Performance Vibrational Spectroscopy by David W. McCamant and others. Instrumentation, array detection; Data Collection, equation 4
Fitting the original independent measurement coordinates often makes these support restrictions explicit and avoids treating interpolation points as new observations.Pseudoinverse fitting with a parameter-dependent covariance range requires checking the allowed residual subspace separately for each fitted parameter. If the covariance is and the residual is , the range restriction in singular-covariance spectral fitting becomesThe Moore-Penrose inverse quadratic alone does not enforce this condition. A projector computed at one trial parameter need not describe another trial's allowed noise.
For an original example, let , zero mean and . Noise lies on a line that rotates with . With observation and , the model at permits the observation and gives quadratic value four. At , the pseudoinverse quadratic is zero, yet the observation is outside the allowed vertical line. Minimizing that quadratic without its range constraint would reward an impossible candidate.
The pinned SciPy documentation describes singular-covariance evaluation using pseudo-determinants, pseudoinverses and covariance rank; its implementation additionally applies a numerical support mask and returns zero density, or negative-infinite log density, off support.[ref]
SciPy 1.16.2 documentation. scipy.stats.multivariate_normal, Notes; v1.16.2 scipy/stats/_multivariate.py, _PSD._support_mask and multivariate_normal_gen.pdf/logpdf
Parameter-dependent supports also require care about which measure defines a density. Values defined on different subspaces are not automatically a common likelihood merely because each uses the same-looking formula.A physically justified transverse noise resolves the idealized singularity. With perpendicular unit vector , use . For , the two quadratic values become four and four hundred. The determinant is the same at these orientations, so this full-rank Gaussian model correctly disfavors the transverse observation.
The transverse-noise limit of a rotating rank-one covariance model is an inference about a stated physical noise model, not permission to add arbitrary diagonal noise for numerical convenience. In spectral work, distinguish a parameter-dependent physical noise direction from a fixed deterministic rebinning matrix; the latter has a fixed output range when its input covariance is positive definite.
The transverse-noise limit of a rotating rank-one covariance model describes how an ordinary two-dimensional noise distribution concentrates onto a line as one physical noise scale tends to zero. For orthonormal vectors , setA zero-mean Gaussian observation has densityThe pseudoinverse fitting with a parameter-dependent covariance range article explains the range restriction at the exactly singular endpoint.
For a fixed point off the line, , the exponential drives this density to zero as . On the line the two-dimensional density grows like . There is no finite pointwise two-dimensional density limit: probability concentrates onto a one-dimensional Gaussian measure. A density on that line uses a different reference measure. Simply substituting zero for in the full-rank density formula is invalid.
For an original angular example, let an observed vector have length along orientation , with and . At angular displacement ,At radians the density ratio is about . The angular resolution set by transverse spectral noise has characteristic small-angle scale radians, or , when the transverse noise is much smaller than the longitudinal noise.
SciPy's pinned implementation treats singular covariance using its rank and a separate numerical support check, rather than only discarding zero eigenvalues in a quadratic.[ref]
SciPy 1.16.2 documentation. scipy.stats.multivariate_normal, Notes; v1.16.2 scipy/stats/_multivariate.py, _PSD._support_mask and pdf/logpdf
Numerical support tolerance and actual transverse measurement noise are different quantities. Choose the latter from the detector and processing model; a tiny arbitrary regularization can otherwise imply unjustified angular precision.Angular resolution set by transverse spectral noise quantifies how sharply an observed spectral vector constrains the orientation of an anisotropic two-coordinate noise model. Use the covariance from transverse-noise limit of a rotating rank-one covariance model, with known longitudinal standard deviation and transverse standard deviation . For an observation of length aligned with orientation , the Gaussian density givesThe determinant is independent of orientation, so the angular dependence comes entirely from the covariance-weighted residual.[ref]
SciPy 1.16.2 documentation. scipy.stats.multivariate_normal, Notes, full-rank Gaussian density
Define a local half-width by a chosen log-density drop . For , the lobe around has half-widthWhen this angle is small and , it is approximately . If , even an orthogonal orientation fails to reach that drop, so this local-width criterion does not exclude any orientation. At or equal noise scales, the observation has no angular preference in this model.
For an original example, choose , and in consistent signal units. Then . A drop gives half-width about radians, or . Reducing only the transverse standard deviation to approximately halves the width. Increasing a numerical regularization parameter is not an experimental improvement in this noise scale.
The global orientation ambiguity in a rank-one covariance fit remains: orientations separated by give the same covariance. A narrow local lobe does not distinguish those two orientations. Nor is a fixed log-density drop automatically a confidence interval with a stated coverage probability. Multiple observations, unknown noise scales and experimental nuisance parameters require their corresponding inference model.
Repeated reference spectra under stable conditions can estimate the longitudinal and transverse noise components. Their covariance must include shared calibration effects, as required by the measurement-propagation rule.[ref]
Guidelines for Evaluating and Expressing the Uncertainty of NIST Measurement Results by Barry N. Taylor and Chris E. Kuyatt. Appendix A, equation A-3
The numerical example is a model calculation in spectral coordinates, rather than a specification of a particular optical instrument.Global orientation ambiguity in a rank-one covariance fit means that covariance identifies an axis without identifying its positive direction. For and ,because . Adding an isotropic transverse-noise term does not remove this equality. The angular resolution set by transverse spectral noise can make each local orientation lobe narrow while leaving the two directed orientations indistinguishable.
For an original example, let and . Both and giveThe eigenvalues are four and zero, and the principal eigenvector can be written as either or its negative. More samples can improve estimation of this matrix without choosing between those signs.
In a zero-mean Gaussian covariance model, equal covariance gives equal probability laws, including the supported line in the singular case.[ref]
SciPy 1.16.2 documentation. scipy.stats.multivariate_normal, mean/cov parameters and Notes on singular covariance
No fitting procedure using only that law can distinguish the two parameter labels. A fitting range removes duplicate labels by convention; it does not measure the sign of a physical direction.For example, local high-likelihood neighborhoods around and may each span only a few degrees. Reporting only the first as uncertainty in a directed angle discards an equally supported region unless additional information rules it out. A prior or coordinate convention that selects one sign should be distinguished from an experimental observation.
Sign-sensitive measurements that resolve a covariance-axis ambiguity can supply information outside the covariance-only model, such as an independently calibrated signed mean or phase reference. If the scientific quantity is genuinely an unoriented axis, an angle modulo is already the appropriate parameter. The interpretation of the parameter determines whether the ambiguity needs resolving.
Sign-sensitive measurements that resolve a covariance-axis ambiguity add an observable whose distribution changes when the fitted axis direction is reversed. In the global orientation ambiguity in a rank-one covariance fit, and give the same covariance. An independently calibrated signed projection can distinguish them.
Consider two candidates with an additional observation , where is known, has known positive sign and . Assume this calibration reading is independent of the covariance data conditional on the candidate. The Gaussian densities giveThe normal density and cumulative distribution function used here are documented in the pinned numerical reference.[ref] The likelihood-ratio expression follows by expanding the two squared residuals.
For an original example, let , and observe . The log likelihood ratio is 16, strongly favoring the positive candidate under this stated model. With equal prior probabilities and equal decision costs, the sign-threshold decision has repeated-measurement error probability . This decision-error probability is different from assigning a posterior error probability to that one observed value.
A practical calibration applies a known signed perturbation and records the signed detector-response component. Reversing the applied perturbation checks readout polarity. A calibrated phase-sensitive readout can provide such a projection; measuring only noise covariance does not supply its sign.
The failure of sign recovery from magnitude-only calibration data is important. For symmetric Gaussian noise, has the same distribution under means and . If is orthogonal to the axis, then and even the signed reading adds no separation. If the amplitude sign itself is unknown, reversing both amplitude and axis preserves the mean. The additional measurement resolves the ambiguity only when its reference sign and response model are independently established.
Failure of sign recovery from magnitude-only calibration data occurs when opposite signed calibration models induce exactly the same distribution of every recorded magnitude. Under this symmetry, more repetitions can estimate the magnitude distribution accurately without deciding the missing sign. This is the limitation relevant to sign-sensitive measurements that resolve a covariance-axis ambiguity.
Let with sign , known and symmetric noise having density . If the recorded value is , then for Symmetry gives . Independent repetitions multiply identical densities, so their likelihood ratio remains one. With equal sign priors and equal decision costs, no decision rule based solely on these magnitudes can have average sign-error probability below1/2.
For normal distribution noise with standard deviation , the magnitude has a folded normal distribution:where is the standard normal density. The formula depends on , not its sign. The pinned numerical reference provides the equivalent standardized folded-normal density and its scale transformation.[ref]
SciPy 1.16.2 documentation. scipy.stats.foldnorm, Notes, density and loc/scale convention
For the original calibration scale and , recording a signed value can distinguish the two models strongly, but recording only its magnitude cannot do so under the symmetric model. This is an information loss in the measurement map, rather than a shortage of averaging trials.
The symmetry assumption is essential. As an original counterexample, let noise equal−1 with probability2/3 and+2 with probability1/3, giving zero mean but an asymmetric distribution. With , the positive-sign magnitudes are0 or3, while the negative-sign magnitudes are2 or1. Their disjoint supports permit sign recovery if this asymmetric noise model is independently established. The calibrated asymmetry itself supplies sign-reference information absent from the symmetric case.
Similarly, a genuinely signed projection or a known phase reference can break the original ambiguity. An unverified readout polarity or unknown amplitude sign can preserve it. Specify which signed information the apparatus actually records before interpreting a magnitude fit as an oriented calibration.
Articles by others on the same topic
There are currently no matching articles.