Skip to content

Commit

Permalink
fix: read all maps to double precision
Browse files Browse the repository at this point in the history
  • Loading branch information
zonca committed Sep 10, 2022
1 parent 255e52c commit 081ea90
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pysm3/models/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ def read_map(self, path, unit=None, field=0, nside=None):
if "{nside}" in path:
path = path.format(nside=max(2048, nside))
return read_map(
path, nside=nside, unit=unit, field=field, map_dist=self.map_dist
path,
nside=nside,
unit=unit,
field=field,
map_dist=self.map_dist,
dtype=np.float64,
)

def read_txt(self, path, **kwargs):
Expand Down

0 comments on commit 081ea90

Please sign in to comment.