Skip to content

Commit

Permalink
Merge branch 'fix_ska_profile' of github.com:rasg-affiliates/21cmSens…
Browse files Browse the repository at this point in the history
…e into fix_ska_profile
  • Loading branch information
DanielaBreitman committed Feb 21, 2025
2 parents 1903932 + 001838e commit 8aee63a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/py21cmsense/observatory.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ def from_ska(
else:
raise ValueError("array_type must be 'low' or 'mid'.")
antpos = subarray.array_config.xyz.data * un.m
_beam = beam.GaussianBeam(frequency=frequency, dish_size=np.array(subarray.array_config.diameter)[0] * un.m)
_beam = beam.GaussianBeam(
frequency=frequency, dish_size=np.array(subarray.array_config.diameter)[0] * un.m
)
lat = subarray.array_config.location.lat.rad * un.rad
return cls(antpos=antpos, beam=_beam, latitude=lat, Trcv=Trcv)

Expand Down

0 comments on commit 8aee63a

Please sign in to comment.