I've been playing around with the program for a couple of days now, and I've come across several questions. I hope you don't mind answering them.
- Why is each image analyzed twice in unit_test.sh?
- Why do median_image.png, image7.bmp, and image9.bmp not generate DEC/RA output? Is this because the program can't calculate it?
- When running the ESA test, there's a lot of numbers coming on the screen. Am I correct in assuming that the actual ESA score is the number on the 100th line of output?
- What is in the .txt files that are generated with each run? Are they important for the program or the user in some way?
And this is more of a general question, but how/where do I get sample images to test the program with?
- Do sample images have to be .bmp? I made a new "camera" and put in .png versions of the sample images in xmas, and the program crashed with a ValueError.
The sample images in the repository look very different from standard star images. Right now, putting in basically anything else results in the following error (this is the same error from question 5, but that error happens in calibrate.py).
Traceback (most recent call last):
File "startracker.py", line 435, in <module>
exec(data)
File "<string>", line 1, in <module>
File "startracker.py", line 323, in solve_image
self.current_image=star_image(imagefile,self.median_image)
File "startracker.py", line 127, in __init__
img=np.clip(img.astype(np.int16)-median_image,a_min=0,a_max=255).astype(np.uint8)
ValueError: operands could not be broadcast together with shapes (397,561,3) (1040,1392,3)I'm assuming this is because I'm doing something wrong with the image, but I don't know what, so how would one get more sample images to test with correctly?
Thanks so much for your help.