Nicola De Quattro wrote:
> So I've to open an image (various formats, first I could need only
> .fits), to process the image in order to select the interesting strip
> containing the star and the spectrum (first image of the link posted,
> but I hope I can select the strip not only in the horizontal line but
> I will rotate the image), to obtain a graph like the second and third
> image (this may be simple, it plots the value of luminosity of each
> point), calibrate the image using periodical table of elements as
> shown in 6th image in order to color the graph.

Without looking further into your problem, there are two (main) general
purpose image manipulation libraries for Python (that I know of) that you
may want to look at: PIL and ImageMagick. At least ImageMagick supports FITS.

Stefan

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to