Skip to content

Commit

Permalink
what are we doing here
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Morris committed Aug 20, 2023
1 parent a397abe commit 7d9ded1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
17 changes: 17 additions & 0 deletions maria/noise.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import numpy as np

from . import base, utils

class NoiseSimulation(base.BaseSimulation):
"""
The base class for modeling noise.
"""
def __init__(self, array, pointing, site, **kwargs):
super().__init__(array, pointing, site)

self.white_noise_level = kwargs.get("white_noise", 1)

def run(self):

self.temperature = self.white_noise_level * np.random.standard_normal(size=(self.pointing.nt, self.pointing.nt))

10 changes: 9 additions & 1 deletion maria/tod.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import numpy as np
import scipy as sp
import h5py
import copy

class TOD:

class TOD():
"""
"""

def __init__(self):
pass
Expand Down

0 comments on commit 7d9ded1

Please sign in to comment.