broken_power_law1d-1.0.0¶
One dimensional power law model with a break.
Description
One dimensional power law model with a break.
Outline
Schema Definitions ¶
This node must validate against all of the following:
This type is an object with the following properties:
amplitude
object Required Model amplitude at the break point.
This node must validate against any of the following:
number
x_break
object Required Break point.
This node must validate against any of the following:
number
alpha_1
object Required Power law index for x < x_break.
This node must validate against any of the following:
number
alpha_2
object Required Power law index for x > x_break.
This node must validate against any of the following:
number
Examples ¶
\(f(x) = A (10.0 / 5.0) ^ {-2.0}\) for x < 5.0 and \(f(x) = A (10.0 / 5.0) ^ {-3.0}\) for x > 5.0:
!transform/broken_power_law1d-1.0.0 {alpha_1: 2.0, alpha_2: 3.0, amplitude: 10.0, x_break: 5.0}
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/transform/broken_power_law1d-1.0.0"
title: >
One dimensional power law model with a break.
description: >
One dimensional power law model with a break.
examples:
-
- $f(x) = A (10.0 / 5.0) ^ {-2.0}$ for x < 5.0 and $f(x) = A (10.0 / 5.0) ^ {-3.0}$ for x > 5.0
- |
!transform/broken_power_law1d-1.0.0 {alpha_1: 2.0, alpha_2: 3.0, amplitude: 10.0, x_break: 5.0}
allOf:
- $ref: "transform-1.2.0"
- type: object
properties:
amplitude:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: Model amplitude at the break point.
x_break:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: Break point.
alpha_1:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: Power law index for x < x_break.
alpha_2:
anyOf:
- $ref: "../unit/quantity-1.1.0"
- type: number
description: Power law index for x > x_break.
required: ['amplitude', 'x_break', 'alpha_1', 'alpha_2']
...