CoordinatesMap¶
- class astropy.visualization.wcsaxes.CoordinatesMap(axes, transform=None, coord_meta=None, frame_class=<class 'astropy.visualization.wcsaxes.frame.RectangularFrame'>, previous_frame_path=None)[ソース]¶
ベースクラス:
object座標系の座標補助対象を表すコンテナ.
このオブジェクトは、リストのようなインデックスで、または辞書のような名前で座標ブースタにアクセスするために使用されてもよい。
- パラメータ
- axes :
WCSAxesWCSAxes 座標地図が属する軸。
- 変換する. :
Transformオプションです。変換、オプション データの変換。
- coord_metaDICT、オプション
A dictionary providing additional metadata. This should include the keys
type,wrap, andunit. Each of these should be a list with as many items as the dimension of the coordinate system. Thetypeentries should be one oflongitude,latitude, orscalar, thewrapentries should give, for the longitude, the angle at which the coordinate wraps (andNoneotherwise), and theunitshould give the unit of the coordinates asUnitinstances. This can optionally also include aformat_unitentry giving the units to use for the tick labels (if not specified, this defaults tounit).- frame_classタイプ、オプション
フレームワークのクラスは
BaseFrameそれがそうです。デフォルトの場合、使用RectangularFrame- previous_frame_path :
Pathオプションです。経路、オプション 軸のWCSを変更する際にはFrame事例が変更されるが,同じ下位matplotlibを再利用し続けることが望ましいかもしれない.
Pathこの場合、このキーワードパラメータに渡すことができる。
- axes :
方法要約
get_coord_range\()grid\([draw_grid, grid_type] )2つの座標の格子線を描く。
set_visible\(可視性)方法文書
- grid(draw_grid=True, grid_type=None, **kwargs)[ソース]¶
2つの座標の格子線を描く。
標準matplotlib外観オプション(色、Alphaなど)キーワードパラメータとして渡すことができる.
- パラメータ
- draw_gridブルル.
グリッド線を表示するかどうか
- grid_type{‘線’|‘輪郭’}
世界座標中の格子線を決定し、世界座標にそれらをプロットすることで等高線を描くかどうか (
'lines')または画像中の多くの位置の世界座標を決定し、等高線を描画することによって ('contours')である。第1の方法は、2次元画像のために推奨され、3次元(またはより高い次元)の立方体については、'contours'このオプションを使用することをお勧めします。デフォルトの場合,変換に逆があれば‘LINES’を用い,そうでなければ“輪郭”を用いる.