Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleySappington committed Dec 11, 2023
1 parent f629e65 commit 30328e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webbpsf/gridded_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,6 @@ def to_model(data, meta):
raise ImportError("This method requires photutils >= 0.6")

ndd = NDData(data, meta=meta, copy=True)
print("TO_MODEL - NDD DATA: ")
print (ndd.data)

ndd.meta['grid_xypos'] = [((float(ndd.meta[key][0].split(',')[1].split(')')[0])),
(float(ndd.meta[key][0].split(',')[0].split('(')[1])))
Expand All @@ -447,9 +445,7 @@ def to_model(data, meta):
ndd.meta = {key.lower(): ndd.meta[key] for key in ndd.meta}

model = GriddedPSFModel(ndd)
print ("TO_MODEL - MODEL DATA: ")
print (model.data)


return model

def writeto(self, data, meta, detector):
Expand Down

0 comments on commit 30328e9

Please sign in to comment.