Skip to content

Commit

Permalink
drop unnecessary units
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin2 committed Jun 25, 2024
1 parent db6cd02 commit f4da26b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyvisgen/fits/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def create_vis_hdu(data, obs, layout="vlba", source_name="sim-source-0"):
# wcs
ra = obs.ra.cpu().numpy().item()
dec = obs.dec.cpu().numpy().item()
freq = (obs.ref_frequency.cpu().numpy().item() * un.Hz).value
freq_d = (obs.bandwidths.cpu().numpy().item() * un.Hz).value
freq = obs.ref_frequency.cpu().numpy().item()
freq_d = obs.bandwidths.cpu().numpy().item()

ws = wcs.WCS(naxis=7)
ws.wcs.crpix = [1, 1, 1, 1, 1, 1, 1]
Expand Down

0 comments on commit f4da26b

Please sign in to comment.