Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rows are reversed in FITS output file #20

Open
garlick opened this issue Jun 6, 2017 · 1 comment
Open

rows are reversed in FITS output file #20

garlick opened this issue Jun 6, 2017 · 1 comment

Comments

@garlick
Copy link
Collaborator

garlick commented Jun 6, 2017

As noted in #11, we seem to be transposing images in Y. I thought it might be the parallel port driver but here is a focus image of the same test target from an ST-8XME on USB.
ds9

@garlick garlick changed the title images reversed in x and y images reversed in Y axis Jun 6, 2017
@garlick
Copy link
Collaborator Author

garlick commented Oct 13, 2017

Need to use CCDOps to produce a FITS image and see if it's the same.

The CE_READOUT_LINE function reads out each row in a pre-defined order (it does not accept a row parameter - one just calls it repeatedly and it advances automatically)

Then we call the cfitsio function fits_write_img()

http://space.mit.edu/cxc/software/slang/modules/cfitsio/doc/html/cfitsio-2.html#fits_write_img

It would appear from the image that we should be reversing the rows in memory before passing it to fits_write_img() or maybe mapping them to the internal buffer in reverse during readout?

@garlick garlick changed the title images reversed in Y axis rows are reversed in FITS output file Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant