profile
Simple 1-D profile structures and parameterisations
            PlasmaProfile
    
              Bases: abc.ABC
Abstract base class for plasma profiles.
Source code in tokamak_neutron_source/profile.py
                
            value(rho)
    
            DataProfile
    
              Bases: tokamak_neutron_source.profile.PlasmaProfile
Plasma profile from data.
Notes
Normalised radius conventions are not enforced here. Linear interpolation is used.
Source code in tokamak_neutron_source/profile.py
                
            value(rho)
    Calculate the value of the profile at given value(s) of rho.
            ParabolicProfile
    
              Bases: tokamak_neutron_source.profile.PlasmaProfile
Parabolic plasma profile parameterisation defined e.g. in
:doi:Lao 1985 <10.1088/0029-5515/25/11/007>.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| core_value | float | Value of the profile at rho = 0 | required | 
| alpha | float | Alpha exponent | required | 
| beta | float | Beta exponent | required | 
Source code in tokamak_neutron_source/profile.py
                
            value(rho)
    Parabolic with pedestal profile function
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| rho | Values of the normalised radius at which to calculate the profile value | required | 
Returns:
| Name | Type | Description | 
|---|---|---|
| values | The value(s) of the profile at rho. | 
Notes
    :math:`g(
ho)=(1- ho^{eta})^{lpha}`
Source code in tokamak_neutron_source/profile.py
              
            ParabolicPedestalProfile
    
              Bases: tokamak_neutron_source.profile.PlasmaProfile
Parabolic pedestal plasma profile parameterisation.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| rho_ped | float | Pedestal normalised radius | required | 
| core_value | float | Value of the profile at rho = 0 | required | 
| ped_value | float | Value of the profile at rho = rho_ped | required | 
| sep_value | float | Value of the profile at rho = 1 | required | 
| alpha | float | Alpha exponent | required | 
| beta | float | Beta exponent | required | 
| rho_ped | float | Normalised radius of the pedestal | required | 
Source code in tokamak_neutron_source/profile.py
                | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |  | 
            value(rho)
    Parabolic with pedestal profile function
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| rho | float | Iterable | Values of the normalised radius at which to calculate the profile value | required | 
Returns:
| Name | Type | Description | 
|---|---|---|
| values | float | Iterable | The value(s) of the profile at rho. |