{
  "title": "Three-band Raman-like quick-start spectrum",
  "synthetic": true,
  "x_label": "Raman shift",
  "x_unit": "cm^-1",
  "y_label": "Intensity",
  "y_unit": "arbitrary units",
  "samples": 801,
  "x_start": 200.0,
  "x_stop": 1800.0,
  "x_step": 2.0,
  "noise": {
    "distribution": "independent Gaussian",
    "sigma_y": 2.0,
    "seed": 1729,
    "generator": "NumPy default_rng (PCG64)"
  },
  "bands": [
    {
      "name": "Isolated band",
      "area": 12000.0,
      "center": 500.0,
      "sigma": 18.0
    },
    {
      "name": "Overlap A",
      "area": 14000.0,
      "center": 1190.0,
      "sigma": 30.0
    },
    {
      "name": "Overlap B",
      "area": 11000.0,
      "center": 1260.0,
      "sigma": 30.0
    }
  ],
  "peak_parameterization": "Gaussian area is signed integrated area; sigma is standard deviation",
  "true_background": {
    "formula": "70 + 0.018*(x - 200) + 0.000025*(x - 900)**2",
    "coefficient_order": [
      "c0",
      "c1",
      "c2"
    ],
    "coefficients": [
      86.65,
      -0.027,
      2.5e-05
    ]
  },
  "background_anchors": [
    {
      "x": 260.0,
      "observed_y": 82.9238972367137
    },
    {
      "x": 850.0,
      "observed_y": 81.29310211679305
    },
    {
      "x": 1720.0,
      "observed_y": 112.65411151380363
    }
  ],
  "estimated_background_coefficients": [
    89.51739825073716,
    -0.032271202269938654,
    2.6583011481666095e-05
  ],
  "estimated_background_degree": 2,
  "artifact": {
    "x": 900.0,
    "height_added": 180.0,
    "samples": 1,
    "purpose": "Synthetic narrow artifact for masking and optional cosmic-removal exercise"
  },
  "fit_mask": {
    "excluded_interval": [
      894.0,
      906.0
    ],
    "excluded_samples": 7
  },
  "fit_settings": {
    "model": "three Gaussian bands",
    "use_data_errors": true,
    "absolute_sigma": true,
    "loss": "linear"
  },
  "uncertainty_caveat": "The quadratic background is estimated from three observed control points, then held fixed and subtracted. Fit and resampling uncertainties are conditional on this chosen background; its estimation uncertainty is not propagated into the band parameters.",
  "interpretation": "The overlapping bands' areas can compensate each other, producing a strong negative parameter correlation even when the total fitted curve follows the data. Gaussian line shapes are chosen for this demonstration, not inferred as universal Raman profiles.",
  "capture": {
    "version": "1.3.1",
    "source_sha": "225afe5f964646611c2a1801ef48c2e9f1b48ab9",
    "theme": "dark",
    "synthetic": true,
    "dataset_sha256": "b128dcd0809deadc54248f0266daee98b6cbaed69c786a3b64659b0461379bd5",
    "screenshots": [
      "01-import-dialog.png",
      "02-imported-spectrum.png",
      "03-mask-spectrum.png",
      "04-background-points.png",
      "05-background-model.png",
      "06-subtract-dialog.png",
      "07-background-subtracted.png",
      "08-peak-model.png",
      "10-first-fit.png",
      "11-uncertainty-covariance.png",
      "13-monte-carlo-setup.png",
      "14-monte-carlo-results.png",
      "12-overlap-correlation.png",
      "15-export-curves.png",
      "16-export-parameters.png",
      "17-export-bundle.png",
      "plugin-manager.png",
      "plugin-trust.png",
      "plugin-review.png",
      "plugin-corrected.png"
    ],
    "fit": {
      "statistics": {
        "N": 794,
        "k": 9,
        "degrees_of_freedom": 785,
        "RSS": 3836.4495744281617,
        "RMSE": 2.1981356808832326,
        "chi_square": 959.1123936070404,
        "reduced_chi_square": 1.2217992275248923,
        "R_squared": 0.9985046079540648,
        "AIC": 3537.1045070652535,
        "AICc": 3537.334098901988,
        "BIC": 3579.198258216478,
        "negative_twice_log_likelihood": 3519.1045070652535,
        "likelihood_parameters": 9
      },
      "overlap_area_correlation": -0.9666803694360203,
      "background_coefficients": {
        "c0": 89.51739825073716,
        "c1": -0.032271202269938654,
        "c2": 2.6583011481666095e-05
      },
      "bands": [
        {
          "name": "Isolated band",
          "area": {
            "value": 11896.041249203075,
            "standard_error": 27.60235860224973,
            "ci_low": 11841.941620454307,
            "ci_high": 11950.140877951844
          },
          "center": {
            "value": 500.0733871245403,
            "standard_error": 0.04798652951962053,
            "ci_low": 499.9793352549388,
            "ci_high": 500.16743899414183
          },
          "sigma": {
            "value": 17.910438120047807,
            "standard_error": 0.04798652600841569,
            "ci_low": 17.81638625732812,
            "ci_high": 18.004489982767495
          }
        },
        {
          "name": "Overlap A",
          "area": {
            "value": 14188.569103271453,
            "standard_error": 164.67544258928885,
            "ci_low": 13865.811166658254,
            "ci_high": 14511.327039884653
          },
          "center": {
            "value": 1190.0013638835153,
            "standard_error": 0.35573621541405076,
            "ci_low": 1189.3041337133072,
            "ci_high": 1190.6985940537234
          },
          "sigma": {
            "value": 30.17644421386275,
            "standard_error": 0.22768277902861733,
            "ci_low": 29.73019416706667,
            "ci_high": 30.622694260658832
          }
        },
        {
          "name": "Overlap B",
          "area": {
            "value": 11072.629959028316,
            "standard_error": 164.62923955400404,
            "ci_low": 10749.962578700251,
            "ci_high": 11395.29733935638
          },
          "center": {
            "value": 1260.2459084159425,
            "standard_error": 0.45277051353329345,
            "ci_low": 1259.3584945161556,
            "ci_high": 1261.1333223157294
          },
          "sigma": {
            "value": 30.081162364974688,
            "standard_error": 0.28929719693080697,
            "ci_low": 29.514150278161914,
            "ci_high": 30.64817445178746
          }
        }
      ],
      "monte_carlo": {
        "replicates": 200,
        "seed": 1729,
        "confidence_level": 0.95,
        "overlap_area_correlation": -0.967067191808897
      },
      "monte_carlo_overlap_area_correlation": -0.967067191808897,
      "uncertainty_caveat": "The quadratic background is estimated from three observed control points, then held fixed and subtracted. Fit and resampling uncertainties are conditional on this chosen background; its estimation uncertainty is not propagated into the band parameters."
    },
    "plugin": {
      "application_version": "1.3.1",
      "identifier": "org.curvemole.community.cosmic_ray_removal",
      "plugin_version": "0.5.2",
      "source_module_sha256": "48c4c9241c272faad9f1851516207624e3396d379755250b76136e51dba7e3b4",
      "settings": {
        "method": "Single spectrum \u2014 modified Z-score",
        "threshold": 10.0,
        "median_window_points": 11,
        "maximum_spike_width_points": 5,
        "grow_candidate_points": 1
      },
      "candidate": {
        "x_min": 898.0,
        "x_max": 902.0,
        "points": 3,
        "score": 130.7053094507004,
        "prominence_width_points": 1.022486653603039,
        "confidence": "Safe"
      },
      "changed_points": 3,
      "original_data_preserved": true,
      "preview_does_not_mutate": true,
      "undo_redo_verified": true,
      "screenshots": [
        "plugin-manager.png",
        "plugin-trust.png",
        "plugin-review.png",
        "plugin-corrected.png"
      ]
    },
    "plugin_bundle": {
      "identifier": "org.curvemole.community.cosmic_ray_removal",
      "version": "0.5.2",
      "filename": "cosmic_ray_removal.zip",
      "sha256": "b7bf5c463998335dfaf88711d98f36588a9f035c687dd9af802d103ab598710f"
    },
    "environment": {
      "python": "3.12.16",
      "numpy": "2.5.2",
      "scipy": "1.18.1",
      "PySide6": "6.11.2"
    }
  }
}
