ScatteringMetaData
- class pyarts.arts.ScatteringMetaData(*args, **kwargs)
Holds meta data about the scattering
Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Attribute
String
The descriptionAttribute
float
The diameter area equivalentAttribute
float
The max diameterAttribute
float
The volume equivalent diameterAttribute
float
The massAttribute
String
The refractive indexAttribute
String
The sourceOperator
Return self==value.
Operator
Return self>=value.
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.ScatteringMetaData) None
Methods
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.ScatteringMetaData
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.