-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from mdboom/transform-domain
Add domain on transforms
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
%YAML 1.1 | ||
--- | ||
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01" | ||
id: "http://stsci.edu/schemas/asdf/0.1.0/transform/domain" | ||
tag: "tag:stsci.edu:asdf/0.1.0/transform/domain" | ||
title: > | ||
Defines the domain of an input axis. | ||
description: > | ||
Describes the range of acceptable input values to a particular | ||
axis of a transform. | ||
examples: | ||
- | ||
- The domain ``[0, 1)``. | ||
- | | ||
!transform/domain | ||
lower: 0 | ||
upper: 1 | ||
includes_lower: true | ||
properties: | ||
lower: | ||
description: > | ||
The lower value of the domain. If not provided, the | ||
domain has no lower limit. | ||
type: number | ||
default: -inf | ||
|
||
upper: | ||
description: > | ||
The upper value of the domain. If not provided, the | ||
domain has no upper limit. | ||
type: number | ||
default: inf | ||
|
||
includes_lower: | ||
description: If `true`, the domain includes `lower`. | ||
type: boolean | ||
default: false | ||
|
||
includes_upper: | ||
description: If `true`, the domain includes `upper`. | ||
type: boolean | ||
default: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters