Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

simple maths, yet I fail


Ags

Recommended Posts

I thought I would quickly write a simple start trail calculator... but my calculation keeps giving too much trailing. I can't see my error, I will probably spot it directly after posting this, so here goes:

        int sensorWidthPixels = 4000;
        double sensorWidthMm = 22;
        double fovFactor = 57.3;
        double lensLengthMm = 50.0;
        double acceptableTrailingPixels = 1;

        double degreesFov = sensorWidthMm * fovFactor / lensLengthMm;
        System.out.printf("Field of view is " + degreesFov + "mm.\n");

        double secondsFov = degreesFov * 4 * 60.0; //seconds of time not arcseconds
        System.out.printf("Field of view is %.3f seconds, or %.3f minutes.\n", secondsFov, (secondsFov / 60.0));

        double pixelsPerSecond = sensorWidthPixels / secondsFov;
        System.out.printf("Drift rate is %.3f pixels/second, or %.3f pixels/minute.\n", pixelsPerSecond, (pixelsPerSecond * 60.0));

        double secondsBeforeTrailing = acceptableTrailingPixels / pixelsPerSecond;
        System.out.printf("Seconds before adjustment is required %.3f seconds.\n", secondsBeforeTrailing);

 

I get this output:

Field of view is 25.212 degrees.
Field of view is 6050.880 seconds, or 100.848 minutes.
Drift rate is 0.661 pixels/second, or 39.664 pixels/minute.
Seconds before adjustment is required 1.513 seconds.
 

For a 50mm lens I would expect 6 seconds...?

Link to comment
Share on other sites

Why do you expect 6 seconds?

As in where does that value get derived from.

Little puzzled by:

double secondsFov = degreesFov * 4 * 60.0; //seconds of time not arcseconds

Why the *4, which would make the value 4x bigger and as it is used later as a division in

double pixelsPerSecond = sensorWidthPixels / secondsFov;

Would cause the result of that to be 1/4 the value so then 1.513 would be 6.052

Link to comment
Share on other sites

No, with one or two pixels of trailing star shapes are already looking funny.

I find 8 adjustments per minute at 50mm is sufficient to keep the stars round. My maths does not agree with my experience... but now that I have done the maths I fear that I will no longer be able to track at 50mm with my barn door anymore :-(

@Ronin, it takes roughly four minutes for a star to drift through 1 degree (celestial equator). So my calculation finds the number of seconds for a star to drift through the whole image, then this is divided into the number of pixels to get pixels per second.

Link to comment
Share on other sites

Ignoring the fact that  you've approximated some of your constants, because I don't think they'll have that much of an effect, if the maths is correct (which it appears to be to me) and is inconsistent with your experience then I think you must question your assumptions.  As Holmes was so fond of saying: "When you have eliminated the impossible, whatever remains, however improbable, must be the truth".

I think my next step would be to take a single frame exposure of a star close to the celestial equator (perhaps a three-second exposure -- something that won't show significant trailing).  Then without moving the camera do the same after a minute, or two, or five, depending how patient you are.  Compare the two frames and count the pixels between the images of the same star.  If the result you get in terms of the distance between the images is consistent with the maths then your assumption that trailing of a single pixel is visible may well be wrong.  If the result is inconsistent with the maths then we both may need to go back to school :)

James

Link to comment
Share on other sites

I can do it on one frame actually... open the shutter, count three dial ahead one rev on the barn door, count three, dial two revs ahead, count three, dial four revs ahead, count three, dial one more, count sixty, close shutter.

I know the barn door tracks at sky rate so I don't need to wait for the sky to move. The last 60 second trail is to check that assumption.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.