pyvista.ImageSinusoidSource#
- class ImageSinusoidSource(*args, **kwargs)[ソース]#
Create an image of a sinusoid.
Added in version 0.44.0.
- パラメータ:
例
Create an image of a sinusoid.
>>> import pyvista as pv >>> source = pv.ImageSinusoidSource( ... whole_extent=(0, 200, 0, 200, 0, 0), ... period=20.0, ... phase=0.0, ... amplitude=255, ... direction=(1.0, 0.0, 0.0), ... ) >>> source.output.plot(cpos='xy')
メソッド
アトリビュート
Get the magnitude of the sinusoid.
Get the direction of the sinusoid.
出力画像をImageDataとして取得します。
Get the period of the sinusoid.
Get the phase of the sinusoid.
出力画像全体の範囲を返します.