Skip to content

Commit

Permalink
Update doc string for set_a_mat and set_a_mat_ps.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhilei committed Jan 13, 2022
1 parent db3a271 commit 635e27f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions optimal_mapping/optimal_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,10 @@ def set_a_mat(self, uvw_sign=1, apply_beam=True):
Attribute:
------
.a_mat: 2d matrix (complex128)
..a_mat: 2d matrix (complex128)
a_matrix (Nvis X Npsf) from the given observation
.beam_mat: 2d matrix (complex128)
a_matrix with only the beam term considered (Nvis X Npsf)
'''
self.a_mat = np.zeros((len(self.data), len(self.idx_psf_in)), dtype='float64')
self.beam_mat = np.zeros(self.a_mat.shape, dtype='float64')
Expand Down Expand Up @@ -357,7 +359,8 @@ def set_a_mat_ps(self, ps_radec, uvw_sign=1, apply_beam=True):
a_matrix (Nvis X (Npsf+Nps)) from the given observation
.a_mat: 2d matrix (complex128)
a_matrix (Nvis X Npsf) from the given observation
.beam_mat: 2d matrix (complex128)
a_matrix_ps with only the beam term considered (Nvis X (Npsf+Nps))
'''
self.a_mat_ps = np.zeros((len(self.data), len(self.idx_psf_in)+ps_radec.shape[0]), dtype='float64')
self.beam_mat = np.zeros(self.a_mat_ps.shape, dtype='float64')
Expand Down

0 comments on commit 635e27f

Please sign in to comment.