jameson module¶
A 1D Jameson sensor.
- class gemseo.mlearning.transformers.sensor.jameson.JamesonSensor(name='', threshold=0.3, removing_part=0.01, dimension=1)[source]¶
Bases:
Transformer
A 1D Jameson Sensor.
- Parameters:
name (str) –
A name for this transformer.
By default it is set to “”.
threshold (float) –
The value to add to the denominator to avoid zero division.
By default it is set to 0.3.
removing_part (float) –
The level of the signal to remove in order to avoid leading and trailing edge effects.
By default it is set to 0.01.
dimension (int) –
The dimension of the mesh.
By default it is set to 1.
- compute_jacobian(data)¶
Compute the Jacobian of
transform()
.
- compute_jacobian_inverse(data)¶
Compute the Jacobian of the
inverse_transform()
.
- duplicate()¶
Duplicate the current object.
- Returns:
A deepcopy of the current instance.
- Return type:
- fit(data, *args)¶
Fit the transformer to the data.
- fit_transform(data, *args)¶
Fit the transformer to the data and transform the data.
- inverse_transform(data)¶
Perform an inverse transform on the data.
- transform(data, *args, **kwargs)¶
Force a NumPy array to be 2D and evaluate the function
f
with it.