__parameters_type__=ProbeSchemaParametersdef__init__(self,**kwargs:Any)->None:"""Init function."""super().__init__(**kwargs)self.__rhos,self.__phis=self.generate_schema()@propertydefrhos(self)->np.ndarray:"""Get rhos' position values. Returns: np.ndarray: rhos' position values. """returnself.__rhos@rhos.setterdefrhos(self,value:Any)->None:"""Prevent overwriting generated rhos' positions values. Args: value (Any): New rhos' position values. Raises: ProbeSchemaError: Raised always since overwriting is forbidden. """raiseProbeSchemaError("ProbeSchema rhos values are immutable.")@propertydefphis(self)->np.ndarray:"""Get phis' position values. Returns: np.ndarray: phis' position values. """returnself.__phis@phis.setterdefphis(self,value:Any)->None:"""Prevent overwriting generated phis' positions values. Args: value (Any): New phis' position values. Raises: ProbeSchemaError: Raised always since overwriting is forbidden. """raiseProbeSchemaError("ProbeSchema phis values are immutable.")
[docs]@abc.abstractmethoddefgenerate_schema(self)->Tuple[np.ndarray,np.ndarray]:"""Generate rhos' and phis' positions values. Returns: Tuple[np.ndarray, np.ndarray]: Tuple with generated schema (rhos, phis). """pass