Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Raindogjones committed Oct 18, 2022
1 parent 508f815 commit ac4fa90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scopesim_templates/misc/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def source_from_file(filename, pixel_scale, sed, amplitude, filter_curve, cut=0,
# ra, dec = wcs.wcs.crval

data[data < cut] = 0
src = source_from_array(image=data, sed=sed, pixel_scale=pixel_scale,
src = source_from_array(arr=data, sed=sed, pixel_scale=pixel_scale,
amplitude=amplitude, filter_curve=filter_curve)

return src
Expand Down Expand Up @@ -463,4 +463,4 @@ def source_from_moments():
Returns
-------
"""
pass
pass

0 comments on commit ac4fa90

Please sign in to comment.