Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…n-annular-eclipse/?p=13012539

Handles issue of negative values from hotdogee#3
  • Loading branch information
patitsas authored Apr 9, 2024
1 parent b093aab commit 2f6a2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclipse-aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def verify_indir_path(p):
if args.fix_angle != -1:
click.secho(f'INFO: Using MOON RADIUS: {moon_mask_r} (sun_radius + moon_radius_mod)')
# 7184
canvas_size = (sun_mask_r + moon_mask_r * 2) * 2
canvas_size = max( img_h, img_w )
# 4802
moon_signal_mask_size = canvas_size - moon_mask_r * 2
moon_signal_mask_r = moon_signal_mask_size // 2
Expand Down

0 comments on commit 2f6a2f7

Please sign in to comment.