Skip to content

Commit

Permalink
add schema to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Nov 6, 2024
1 parent aaa5fa4 commit 09df40a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/nddata/stddevuncertainty-1.0.0"

title:
Represents the astropy.nddata.StdDevUncertainty class
title: Represents the astropy.nddata.StdDevUncertainty class

description:
description: >-
This object represents the `StdDevUncertainty` class, which is a subclass
of the `NDUncertainty` class from `astropy.nddata`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/nddata/unknownuncertainty-1.0.0"

title:
Represents the astropy.nddata.UnknownUncertainty class
title: Represents the astropy.nddata.UnknownUncertainty class

description:
description: >-
This object represents the `UnknownUncertainty` class, which is a subclass
of the `NDUncertainty` class from `astropy.nddata`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/nddata/varianceuncertainty-1.0.0"

title:
Represents the astropy.nddata.VarianceUncertainty class
title: Represents the astropy.nddata.VarianceUncertainty class

description:
description: >-
This object represents the `VarianceUncertainty` class, which is a subclass
of the `NDUncertainty` class from `astropy.nddata`
Expand Down
15 changes: 15 additions & 0 deletions docs/asdf-astropy/schemas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,21 @@ fits/fits-1.0.0

fits/fits-1.0.0

NDData
------

The following schemas are associated with **astropy** objects from the
:ref:`astropy_nddata` submodule:

units/equivalency-1.0.0
^^^^^^^^^^^^^^^^^^^^^^^

.. asdf-autoschemas::

nddata/stddevuncertainty-1.0.0
nddata/unknownuncertainty-1.0.0
nddata/varianceuncertainty-1.0.0

Table
-----

Expand Down

0 comments on commit 09df40a

Please sign in to comment.