Stellarator-Tools
Loading...
Searching...
No Matches
Profiles types.

Introduction

This page contains discriptions of the types of profiles that can be used for parameterized profiles. Profiles are tagged in the Model profile specification, as pp_*_ where * refers to the specific profile.

Profile types

Profiles can be defined as any of the following types.

none

none No profile is used in this instance.

two_power

'two_power' Profile is defined as a two power poly nomical with 4 coeffiecents. Coefficients are defined as in the first 4 indicies of the '_b' array. The profile is defined as follows.

a(x) = b[0] + b[1]*(1 - x^b[2])^b[3]

where x is valid from zero to one.

two_power_gs

'two_power_gs' Profile is defined as a two power poly nomical with 4 coefficients plus and an arbitrary number of additional guassian functions. The number of giassian functions if limited to the size of the '_b' array. The two power part is defined the same as two_power. The remaining guassian bits are defined as

a(x) = b[i]*Exp(-(x - b[i + 1])^2/b[i + 2]^2)

two_power_r

'two_power_r' Reversed Two power profile defined the same as two_power except the argument is reversed. The function is maximum at x = 1 and minimum at x = 0.

power_series

'power_series' Profile is defined as a power series with '_b' array coefficients.

a(x) = b[0] + b[1]*x + b[2]*x^2 + b[3]*x^3 + etc...

cubic_spline

'cubic_spline' Profile defined as cubic spline segments. Splines knots are defined by the position, '_as' array, and amplitude, '_af' array.

akima_spline

'akima_spline' Profile defined as akima spline segments. Splines knots are defined by the position, '_as' array, and amplitude, '_af' array.

line_segment

'line_segment' Profile defined as line segments. Segment knots are defined by the position, '_as' array, and amplitude, '_af' array.

sq_exp_1d

'sq_exp_1d' Guassian process profile are defined by hyper parameters in the first two elements of the '_b' array. The points the profile is computed to is defined by positions on the '_as' array.

sq_exp_1d

'sq_exp_1d_ln' Guassian process profile are defined by hyper parameters in the first two elements of the '_b' array. The points the profile is computed to is defined by positions on the '_as' array.