roxieapi.cadata.CableDefinition module¶
- class roxieapi.cadata.CableDefinition.CableDefinition(name: str = '', comment: str = '', width: float = 0.0, thickness_i: float = 0.0, thickness_o: float = 0.0, n_s: int = 0, l_tp: float = 0.0, f_degrad: float = 0.0)[source]¶
Bases:
Definition
Class for cable cadata definition.
- width¶
The length (mm) of the long side of the cable cross-section.
- Type:
float
- thickness_i¶
The inner narrow side thickness (mm).
- Type:
float
- thickness_o¶
The outer narrow side thickness (mm).
- Type:
float
- n_s¶
The number of strands (mm).
- Type:
int
- l_tp¶
The length of the transposition pitch (mm) of the Rutherford-type cable.
- Type:
float
- f_degrad¶
The degradation of the critical current density in %.
- Type:
float
- f_degrad: float = 0.0¶
- static get_magnum_to_roxie_dct() dict [source]¶
Method returning a mapping from MagNum naming convention to ROXIE naming convention.
- Returns:
a dictionary from MagNum to ROXIE names
- l_tp: float = 0.0¶
- n_s: int = 0¶
- thickness_i: float = 0.0¶
- thickness_o: float = 0.0¶
- width: float = 0.0¶