Skip to content

Commit

Permalink
fix mbs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiardie committed Oct 10, 2023
1 parent 2fe793d commit 044d69f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions litebird_sim/mbs/mbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def from_dict(dictionary):
bandwidth_ghz=dictionary["bandwidth_ghz"],
fwhm_arcmin=dictionary["fwhm_arcmin"],
p_sens_ukarcmin=dictionary["p_sens_ukarcmin"],
band=None,
band=dictionary["band"],
)

@staticmethod
Expand All @@ -44,7 +44,7 @@ def from_npy(filename):
bandwidth_ghz=data["freq_band"],
fwhm_arcmin=data["beam"],
p_sens_ukarcmin=data["p_sens"],
band=None,
band=data["band"],
)

@staticmethod
Expand All @@ -55,7 +55,7 @@ def from_toml(filename):
bandwidth_ghz=data["freq_band"],
fwhm_arcmin=data["beam"],
p_sens_ukarcmin=data["p_sens"],
band=None,
band=data["band"],
)


Expand Down Expand Up @@ -435,6 +435,8 @@ def _parse_instrument(self):
p_sens_ukarcmin=p_sens_ukarcmin,
)



def generate_noise(self):
instr = self.instrument
nmc_noise = self.params.nmc_noise
Expand Down

0 comments on commit 044d69f

Please sign in to comment.