Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %% plate scale,pixel size = 0.6 arcseconds/pixel
- p = 1/0.6
- %% Radius of the Sun/Earth-Sun distance
- a = 0.0046491838
- %% scaling factor, converting it to degrees
- s = a*p*3600*0.640365
- %% Central pixels
- xC = 2048;
- yC = 2048;
- %% latitude and longitude
- l = 0
- b = -90
- x = round((b*s*cos((l*pi)/180))+xC)
- y = round((l*s)+yC)
Add Comment
Please, Sign In to add comment