pipeline.hsd.tasks.common.rasterutil¶
Functions
|
Generator for generate_animation. |
|
Generate plot corresponding to single frame |
|
Compute distance between two points (x0, y0) and (x1, y1). |
|
Filter metadata. |
Return the most frequent number (mode) in v. |
|
|
Find gaps between individual raster map. |
|
Find time gap. |
|
flag incomplete raster map N: number of data per raster map M: number of data per raster row MN: median of N => typical number of data per raster map MM: median of M => typical number of data per raster row logic: - if N[x] < MN + MM then flag whole data in raster map x - if N[x] > MN + MM then flag whole data in raster map x and later |
|
Return list of index to be flagged by flagging heuristics for raster scan |
|
Flag raster map based on two flagging heuristics for given field id. |
|
flag raster map if number of continuous flagged data exceeds upper limit given by nd_row M: number of data per raster row MM: median of M => typical number of data per raster row L: maximum length of continuous flagged data logic: - if L[x] > MM then flag whole data in raster map x |
|
read DataTable located in the context directory. |
|
Generate range of data (start and end indices) from given gap list. |
|
Generate animation GIF file to illustrate observing pattern. |
|
Compute tangential angle taking into account aspect ratio. |
|
Compute aspect ratio of matplotlib figure. |
|
Compute list of distances between raster rows. |
|
Merge flag result and convert raster id to list of data index. |
|
Get list of field ids for science targets. |
|
extract necessary data from datatable instance. |
|
|
|
|
|
Make timestamp in input metadata unique. |
Classes
|