Skip to content

Instantly share code, notes, and snippets.

Andrea Zonca zonca

Block or report user

Report or block zonca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zonca
zonca / compare_so_noise.ipynb
Created Jan 23, 2020
Compare noise models SA
View compare_so_noise.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View run_dark_subarray.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zonca
zonca / benchmark_healpy_operations_popeye.csv
Last active Dec 12, 2019
healpy operations and noise sims benchmarks ran on Popeye, all time in seconds, ell_max 3*nside-1 except 4096 at 2*nside
View benchmark_healpy_operations_popeye.csv
nside IQU_alm_filesize IQU_map_filesize alm2map_I alm2map_IQU alm_size lmax map2alm_I map2alm_IQU npix read_alm_IQU read_map_IQU noise_sim_init noise_sim_run
128 4.4M 2.3M 0.0 0.0 73920 383 0.0 0.01 196608 0.02 0.02 0.19 0.04
256 17M 9.4M 0.0 0.02 295296 767 0.01 0.03 786432 0.03 0.01 0.18 0.14
512 70M 37M 0.02 0.09 1180416 1535 0.04 0.14 3145728 0.12 0.03 0.36 0.63
1024 283M 151M 0.13 0.44 4720128 3071 0.19 0.67 12582912 0.47 0.12 1.05 2.63
2048 1.1G 603M 0.77 2.83 18877440 6143 1.0 3.75 50331648 1.92 0.47 4.51 11.73
4096 4.5G 2.4G 4.85 19.22 75503616 12287 5.86 23.79 201326592 7.71 1.89 18.62 55.13
8192 8.0G 9.6G 17.3 68.25 134242305 16384 119.06 496.57 805306368 13.8 7.49 73.75 210.05
@zonca
zonca / plot_cl_planck.ipynb
Created Sep 21, 2019
Angular power spectra for map based simulations release 201909_highres_foregrounds_extragalactic_planck_deltabandpass
View plot_cl_planck.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View keybase.md

Keybase proof

I hereby claim:

  • I am zonca on github.
  • I am zonca (https://keybase.io/zonca) on keybase.
  • I have a public key whose fingerprint is 1598 300F 0CE9 B001 70FF 8182 376E 70C8 0BBB 86F6

To claim this, I am signing this object:

@zonca
zonca / upload_release_assets.py
Created Aug 22, 2019
Upload release assets to Github from the command line
View upload_release_assets.py
"""Upload release assets to a GitHub release
First create a release on Github, then:
python upload_release_assets.py 1.2.0 my_data.tgz
"""
import sys
REPOSITORY="your_organization/your_repo"
with open("GITHUB_TOKEN") as f:
TOKEN=f.read().strip()
from github import Github
@zonca
zonca / run_pysm2_toast_tests.py
Last active Jun 24, 2019
Script to generate the expected outputs for TOAST unit tests, requires PySM 2
View run_pysm2_toast_tests.py
import pysm
import numpy as np
for smoothing in [False, True]:
nside = 64 if smoothing else 8
config = {}
config["synchrotron"] = pysm.nominal.s1(nside=nside)
config["freefree"] = pysm.nominal.f1(nside=nside)
config["ame"] = pysm.nominal.a1(nside=nside)
bandpasses = {
@zonca
zonca / normalization_libsharp_healpy.ipynb
Created Jun 10, 2019
Normalization Alm libsharp healpy
View normalization_libsharp_healpy.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View plot_maps_201905_extragalactic_512.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View plot_maps_201905_extragalactic_4096.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.