Skip to content

Add sample DEM data to xrtpy.data or xrtpy.examples for use in documentation and tutorials #404

Description

@joyvelasquez

Feature description

Add a small set of real or representative XRT observed intensities (filter names, DN/s/pix values, and observation date) accessible directly from XRTpy, similar to how SunPy provides sample data via sunpy.data.sample. This would allow documentation examples and tutorials to use xrtpy.data.sample_dem_intensities or similar rather than hardcoded placeholder values.

Motivation

Currently the DEM documentation and examples use hardcoded intensity values with no clear provenance. Providing curated sample data from within the package would make examples more reproducible, scientifically grounded, and easier to maintain. It also lowers the barrier for new users trying to run the DEM solver for the first time.

Implementation strategy

  • Look at sunpy.data.sample as a reference implementation
  • Add a small data file (e.g. a FITS header or CSV) with real XRT filter intensities from a known observation
  • Expose it via xrtpy.data with a simple loader function

Additional context

Came up during review of PR #367 (XRT DEM Iterative Solver) — see Nick's comment

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions