Skip to content

Commit

Permalink
TODO comment...
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg committed Nov 26, 2024
1 parent 4991a02 commit a2d8bfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scopesim_templates/stellar/stars.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ def stars(filter_name, amplitudes, spec_types, x, y, library="pyckles",
spectra = [Spextrum(library + "/" + spec.lower()).scale_to_magnitude(
amp, filter_curve=filter_name)
for spec, amp in zip(spec_types, amplitudes)]
# TODO: actually use weights here instead of spectra scaling to avoid
# O(n) scaling for number of spectra...
weight = np.ones(shape=amplitudes.shape)

# get the references to the unique stellar types
Expand Down

0 comments on commit a2d8bfe

Please sign in to comment.