next up previous contents
Next: About this document ... Up: Fitsblink 3.195 user manual Previous: 14. Telescope and CCD   Contents

Subsections

15. Controlling fitsblink from script programs

This section is of interest for advanced users who have to process large volumes of data automatically and have some experience with Python.

import examples

starting fitsblink from python passing the arguments

Available functions x load image x erase image x set frame x,y,w,h x maximum window x colormap (0|1) x markers (0|1) x (blink) window width| height (resize) x blink (0|1) x delay t (set delay)

15.1 PIXEL Video_point(int i, int x, int y)

Returns the value of pixel with coordinates x, y from the image i. If image with index i does not exist, the function throws IndexError.

15.2 Set_point(int i, int x, int y, int v)

Sets the value of pixel with coordinates x, y from the image i to value v. If image with index i does not exist, the function throws IndexError.

15.3 Xor_point(int i, int x, int y)

Performes a bitwise exclusive-OR between value of pixel with coordinates x, y from the image i and the argument v. The result is stored back to the image. If image with index i does not exist, the function throws IndexError.

15.4 Set_offset(int i, float dx, float dy)

Sets x and y offsets of the image i to values of dx and dy. New internal image ready for display is generated. If image i is currently displayed, it is redisplayed with the new offset. If image with index i does not exist, the function throws IndexError.

15.5 Detect_stars(int i)

Detect stars on image i using currently set parameters for this image. If image with indexi i does not exist, the function throws IndexError.

15.6 Star_list(int i)

Output s star list to a file. If image with index i does not exist, the function throws IndexError.

15.7 Load_star_list(int i, char name)

Reads a star list from a given file. If image with index i does not exist, the function throws IndexError.

15.8 Blur(int i)

Filter the image by a 3$\times$3 kernel and redisplay it. If image with index i does not exist, the function throws IndexError.

15.9 int DSSload(int i)

Load an image and use the currentlt displayed image as an template.

15.10 int get_dss_image(char *name, char *object, double ra, double dec, double width, double height, char *survey)

Download a DSS image with with coordinates and dimension and give it a name.


next up previous contents
Next: About this document ... Up: Fitsblink 3.195 user manual Previous: 14. Telescope and CCD   Contents
Jure Skvarc
2000-06-11