Skip to content

Conversation

@keskitalo
Copy link
Member

No description provided.

@keskitalo
Copy link
Member Author

Fix the divergent history of #534

Copy link
Member

@tskisner tskisner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of small tweaks, but otherwise looks good

cmake.sh Outdated
@@ -0,0 +1 @@
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this script accidentally committed? If you have a specific set of cmake options needed for a system, feel free to add a script to the platforms directory. We could consider adding a default.sh script or similar.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! Removed the unnecessary file.


theta, phi, psi, psi_pol = self.get_pointing(data, det, verbose)
np.savez(f'{self.det_data}_{det}.npz', psi=psi, psi_pol=psi_pol,
theta=theta, phi=phi)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we guard this debug dumping by a line like:

# (assuming that Environment was imported at the top of the file)
env = Environment.get()
if env.log_level == "VERBOSE":
    np.savez(...)

or use some other internal verbose settting in the class.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a leftover debugging statement. Now removed.

print("libconviqt not available, skipping tests")
return

# Create a fake scan strategy that hits every pixel once.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove stale comment

):
fail = True
# Create a fake scan strategy that hits every pixel once.
# data = create_healpix_ring_satellite(self.comm, nside=self.nside)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this, and the comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@keskitalo
Copy link
Member Author

Addressed review comments and will merge once the unit tests finish.

@keskitalo keskitalo merged commit 3998385 into toast3 Apr 27, 2022
@keskitalo keskitalo deleted the toast3_TEB_conv_merge branch April 27, 2022 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants