Docs: fix stale YAML examples and copy-pasted docstring summaries

Four small documentation fixes, plus the matching schema regeneration. All were found by mechanically diffing the docs and docstrings against the pydantic-generated JSON schema while building the Pyxel Config Lab✨

  • docs/source/.../pixel_to_signal.rst: the simple_measurement example used a legacy noise: list wrapper; the signature is simple_measurement(detector, gain=None), so gain now sits directly under arguments:.
  • docs/source/.../charge_transfer_models.rst: the arctic_remove example used the old instant_traps: layout; now uses flat trap_densities / trap_release_timescales arrays, matching the arctic_add example in the same file.
  • pyxel/models/data_processing/remove_cosmic_rays.py: the docstring summary was copied from extract_roi_to_xarray; it now describes the actual behavior (cosmic ray removal via L.A.Cosmic).
  • pyxel/models/data_processing/source_extractor_model.py: same copy-pasted summary; now describes source extraction. The identical summary on the deprecated extract_roi_to_xarray was left untouched.
  • pyxel/static/pyxel_schema.json: updated the description fields for the two models above to match the corrected docstrings (keeps check_json_schema green).

Closes issue: #1059

Merge request reports

Loading
Loading