# Colab Setup (Run this first)
!pip install litebird_sim rich
Requirement already satisfied: litebird_sim in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (0.16.0)
Requirement already satisfied: rich in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (14.2.0)
Requirement already satisfied: asciimatics>=1.15.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (1.15.0)
Requirement already satisfied: astropy==6.1.7 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (6.1.7)
Requirement already satisfied: deprecated>=1.2.18 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (1.3.1)
Requirement already satisfied: deprecation>=2.1.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (2.1.0)
Requirement already satisfied: ducc0>=0.38.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (0.39.1)
Requirement already satisfied: h5py>=3.9 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (3.15.1)
Requirement already satisfied: healpy>=1.18.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (1.18.1)
Requirement already satisfied: jinja2>=3.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (3.1.6)
Requirement already satisfied: jplephem>=2.22 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (2.23)
Requirement already satisfied: libinsdb>=0.9.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (0.9.0)
Requirement already satisfied: markdown-katex>=202406.1035 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (202406.1035)
Requirement already satisfied: markdown>=3.9 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (3.10)
Requirement already satisfied: matplotlib>=3.10.3 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (3.10.7)
Requirement already satisfied: numba>=0.61.2 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (0.62.1)
Requirement already satisfied: numpy>=1.26.4 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (1.26.4)
Requirement already satisfied: pygithub>=2.6.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (2.8.1)
Requirement already satisfied: pyperclip>=1.9.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (1.11.0)
Requirement already satisfied: pysm3>=3.4.2 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (3.4.3)
Requirement already satisfied: pyyaml>=6.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (6.0.3)
Requirement already satisfied: requests>=2.32.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (2.32.5)
Requirement already satisfied: scipy>=1.14.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (1.14.1)
Requirement already satisfied: tomlkit>=0.12.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from litebird_sim) (0.12.5)
Requirement already satisfied: pyerfa>=2.0.1.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from astropy==6.1.7->litebird_sim) (2.0.1.5)
Requirement already satisfied: astropy-iers-data>=0.2024.10.28.0.34.7 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from astropy==6.1.7->litebird_sim) (0.2025.11.24.0.39.11)
Requirement already satisfied: packaging>=19.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from astropy==6.1.7->litebird_sim) (25.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from rich) (4.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from rich) (2.19.2)
Requirement already satisfied: pyfiglet>=0.7.2 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from asciimatics>=1.15.0->litebird_sim) (1.0.4)
Requirement already satisfied: Pillow>=2.7.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from asciimatics>=1.15.0->litebird_sim) (12.0.0)
Requirement already satisfied: wcwidth in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from asciimatics>=1.15.0->litebird_sim) (0.2.14)
Requirement already satisfied: wrapt<3,>=1.10 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from deprecated>=1.2.18->litebird_sim) (2.0.1)
Requirement already satisfied: MarkupSafe>=2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from jinja2>=3.1->litebird_sim) (3.0.3)
Requirement already satisfied: coverage<8,>=7.3.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from libinsdb>=0.9.0->litebird_sim) (7.12.0)
Requirement already satisfied: python-dateutil<3,>=2.8.2 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from libinsdb>=0.9.0->litebird_sim) (2.9.0.post0)
Requirement already satisfied: requests-mock<2,>=1.11.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from libinsdb>=0.9.0->litebird_sim) (1.12.1)
Requirement already satisfied: types-pyyaml<7,>=6.0.12.12 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from libinsdb>=0.9.0->litebird_sim) (6.0.12.20250915)
Requirement already satisfied: six>=1.5 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from python-dateutil<3,>=2.8.2->libinsdb>=0.9.0->litebird_sim) (1.17.0)
Requirement already satisfied: charset_normalizer<4,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from requests>=2.32.0->litebird_sim) (3.4.4)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from requests>=2.32.0->litebird_sim) (3.11)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from requests>=2.32.0->litebird_sim) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from requests>=2.32.0->litebird_sim) (2025.11.12)
Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from markdown-it-py>=2.2.0->rich) (0.1.2)
Requirement already satisfied: setuptools in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from markdown-katex>=202406.1035->litebird_sim) (80.9.0)
Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from matplotlib>=3.10.3->litebird_sim) (1.3.3)
Requirement already satisfied: cycler>=0.10 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from matplotlib>=3.10.3->litebird_sim) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from matplotlib>=3.10.3->litebird_sim) (4.60.1)
Requirement already satisfied: kiwisolver>=1.3.1 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from matplotlib>=3.10.3->litebird_sim) (1.4.9)
Requirement already satisfied: pyparsing>=3 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from matplotlib>=3.10.3->litebird_sim) (3.2.5)
Requirement already satisfied: llvmlite<0.46,>=0.45.0dev0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from numba>=0.61.2->litebird_sim) (0.45.1)
Requirement already satisfied: pynacl>=1.4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from pygithub>=2.6.1->litebird_sim) (1.6.1)
Requirement already satisfied: pyjwt>=2.4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from pyjwt[crypto]>=2.4.0->pygithub>=2.6.1->litebird_sim) (2.10.1)
Requirement already satisfied: typing-extensions>=4.5.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from pygithub>=2.6.1->litebird_sim) (4.15.0)
Requirement already satisfied: cryptography>=3.4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from pyjwt[crypto]>=2.4.0->pygithub>=2.6.1->litebird_sim) (46.0.3)
Requirement already satisfied: cffi>=2.0.0 in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from cryptography>=3.4.0->pyjwt[crypto]>=2.4.0->pygithub>=2.6.1->litebird_sim) (2.0.0)
Requirement already satisfied: pycparser in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from cffi>=2.0.0->cryptography>=3.4.0->pyjwt[crypto]>=2.4.0->pygithub>=2.6.1->litebird_sim) (2.23)
Requirement already satisfied: toml in /opt/homebrew/Caskroom/miniconda/base/envs/litebird_sim/lib/python3.13/site-packages (from pysm3>=3.4.2->litebird_sim) (0.10.2)
litebird_sim IMo interface#
To run this notebook, you have several options:
If you are running this under Binder, you should already be set!
If you are running this under Google Colab, be sure to run the cell with
!pip install…that is right above the title.If you are running this locally, you should first create and activate a new virtual environment with the commands
python -m venv ./my_venv source ./my_venv/bin/activate
(you can use Conda environments, if you prefer) and install Jupyter and litebird_sim in it:
pip install jupyter litebird_sim
If you have a local copy of the
litebird_simrepository cloned from litebird/litebird_sim (e.g., because you’re part of the Simulation Team!), you can use a development install instead:cd /my/local/copy/litebird_sim pip install -e .
Set up the environment#
# Using this file, we can use "import litebird_sim" even if it is not installed system-wide
We start by importing a few libraries that will be useful in this notebook.
import litebird_sim as lbs
lbs.PTEP_IMO_LOCATION
PosixPath('/Users/luca/Documents/Universita/litebird/simteam/codes/litebird_sim/litebird_sim/default_imo/schema.json.gz')
Parameters of the simulation#
We will simulate a pair of 140 GHz LFT detectors. Their definition will be taken from the LiteBIRD Instrument MOdel (IMO) version vPTEP (new!), and we will simulate 1 year of observation. See the documentation for more details about the input parameters.
telescope = "LFT"
channel = "L4-140"
detector = "000_001_017_QB_140_T"
imo_version = "vPTEP"
To use the IMO bundled in litebird_sim, one needs to do the following:
imo = lbs.Imo(flatfile_location=lbs.PTEP_IMO_LOCATION)
Otherwise, if you want to install the IMO, follow the instructions in the IMO documentation. You can install the IMO with the command python -m litebird_sim.install_imo with the schema.json in litebird_sim or with any other local copy.
# here we load the IMo
imo = lbs.Imo()
litebird_sim provides classes that mirrores all the Quantities in the imo
Let’s start from the Scanning strategy
scan = lbs.SpinningScanningStrategy.from_imo(
imo,
f"/releases/{imo_version}/satellite/scanning_parameters",
)
Let’s see the metadata
scan.__dict__
{'spin_sun_angle_rad': 0.7853981633974483,
'precession_rate_hz': 8.664850513998931e-05,
'spin_rate_hz': 0.0008333333333333334,
'start_time': <Time object: scale='tdb' format='iso' value=2027-01-01 00:00:00.000>}
For the InstrumentInfo is very similar
intrument = lbs.InstrumentInfo.from_imo(
imo,
f"/releases/{imo_version}/satellite/{telescope}/instrument_info",
)
Here the metadata
intrument.__dict__
{'name': 'LFT',
'boresight_rotangle_rad': 0.0,
'spin_boresight_angle_rad': 0.8726646259971648,
'spin_rotangle_rad': 0.0,
'hwp_rpm': 46.0,
'number_of_channels': 12,
'channel_names': ['L1-040',
'L2-050',
'L1-060',
'L3-068',
'L2-068',
'L4-078',
'L1-078',
'L3-089',
'L2-089',
'L4-100',
'L3-119',
'L4-140'],
'channel_objs': [UUID('980a0868-93bc-4fc9-96bd-86b1089b08ea'),
UUID('c505d51e-f8aa-489d-b578-cfed07dfabec'),
UUID('16398281-a26b-4205-bb8a-77a0f5e51e79'),
UUID('56a92378-9255-4a19-b16a-dc6aebb68090'),
UUID('ae2bc415-9920-4975-9dbb-06b5c4d2dc57'),
UUID('dfa615df-59d0-486d-af4e-03cd81c1e38e'),
UUID('0b986a12-9288-4be9-9e39-aa7e969f3fd9'),
UUID('37b9d936-7bd4-407f-9d3b-eb719e06d199'),
UUID('92fa4958-ed06-4ce2-84ed-9f3855fbb567'),
UUID('488b7cb6-730c-481c-bfb3-a6c52f3ac815'),
UUID('37fab5db-c305-4ede-988f-1b0dfa783037'),
UUID('77305cb2-1f1c-40df-a3ab-59df182e27d2')],
'wafer_names': [],
'wafer_space_cm': 0.0,
'bore2spin_quat': <litebird_sim.scanning.RotQuaternion at 0x1408ad550>}
chinfo = lbs.FreqChannelInfo.from_imo(
imo=imo,
url=f"/releases/{imo_version}/satellite/{telescope}/{channel}/channel_info",
)
chinfo.__dict__
{'bandcenter_ghz': 140.0,
'channel': 'L4-140',
'bandwidth_ghz': 42.0,
'band_freqs_ghz': array([ 98. , 98.66141732, 99.32283465, 99.98425197,
100.64566929, 101.30708661, 101.96850394, 102.62992126,
103.29133858, 103.95275591, 104.61417323, 105.27559055,
105.93700787, 106.5984252 , 107.25984252, 107.92125984,
108.58267717, 109.24409449, 109.90551181, 110.56692913,
111.22834646, 111.88976378, 112.5511811 , 113.21259843,
113.87401575, 114.53543307, 115.19685039, 115.85826772,
116.51968504, 117.18110236, 117.84251969, 118.50393701,
119.16535433, 119.82677165, 120.48818898, 121.1496063 ,
121.81102362, 122.47244094, 123.13385827, 123.79527559,
124.45669291, 125.11811024, 125.77952756, 126.44094488,
127.1023622 , 127.76377953, 128.42519685, 129.08661417,
129.7480315 , 130.40944882, 131.07086614, 131.73228346,
132.39370079, 133.05511811, 133.71653543, 134.37795276,
135.03937008, 135.7007874 , 136.36220472, 137.02362205,
137.68503937, 138.34645669, 139.00787402, 139.66929134,
140.33070866, 140.99212598, 141.65354331, 142.31496063,
142.97637795, 143.63779528, 144.2992126 , 144.96062992,
145.62204724, 146.28346457, 146.94488189, 147.60629921,
148.26771654, 148.92913386, 149.59055118, 150.2519685 ,
150.91338583, 151.57480315, 152.23622047, 152.8976378 ,
153.55905512, 154.22047244, 154.88188976, 155.54330709,
156.20472441, 156.86614173, 157.52755906, 158.18897638,
158.8503937 , 159.51181102, 160.17322835, 160.83464567,
161.49606299, 162.15748031, 162.81889764, 163.48031496,
164.14173228, 164.80314961, 165.46456693, 166.12598425,
166.78740157, 167.4488189 , 168.11023622, 168.77165354,
169.43307087, 170.09448819, 170.75590551, 171.41732283,
172.07874016, 172.74015748, 173.4015748 , 174.06299213,
174.72440945, 175.38582677, 176.04724409, 176.70866142,
177.37007874, 178.03149606, 178.69291339, 179.35433071,
180.01574803, 180.67716535, 181.33858268, 182. ]),
'band_weights': array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0.]),
'net_detector_ukrts': 38.44,
'net_channel_ukrts': 3.581435543962163,
'pol_sensitivity_channel_ukarcmin': 7.2452596353211804,
'sampling_rate_hz': 31.0,
'fwhm_arcmin': 23.7,
'ellipticity': 1.0,
'psi_rad': 0.0,
'fknee_mhz': 20.0,
'fmin_hz': 0.01,
'alpha': 1.0,
'number_of_detectors': 144,
'detector_names': ['000_001_000_QA_140_T',
'000_001_000_QA_140_B',
'000_001_001_QB_140_T',
'000_001_001_QB_140_B',
'000_001_002_UA_140_T',
'000_001_002_UA_140_B',
'000_001_003_UB_140_T',
'000_001_003_UB_140_B',
'000_001_004_QA_140_T',
'000_001_004_QA_140_B',
'000_001_005_QB_140_T',
'000_001_005_QB_140_B',
'000_001_006_UA_140_T',
'000_001_006_UA_140_B',
'000_001_007_UB_140_T',
'000_001_007_UB_140_B',
'000_001_008_QA_140_T',
'000_001_008_QA_140_B',
'000_001_009_QB_140_T',
'000_001_009_QB_140_B',
'000_001_010_UA_140_T',
'000_001_010_UA_140_B',
'000_001_011_UB_140_T',
'000_001_011_UB_140_B',
'000_001_012_QA_140_T',
'000_001_012_QA_140_B',
'000_001_013_QB_140_T',
'000_001_013_QB_140_B',
'000_001_014_UA_140_T',
'000_001_014_UA_140_B',
'000_001_015_UB_140_T',
'000_001_015_UB_140_B',
'000_001_016_QA_140_T',
'000_001_016_QA_140_B',
'000_001_017_QB_140_T',
'000_001_017_QB_140_B',
'000_002_000_QB_140_T',
'000_002_000_QB_140_B',
'000_002_001_QA_140_T',
'000_002_001_QA_140_B',
'000_002_002_UB_140_T',
'000_002_002_UB_140_B',
'000_002_003_UA_140_T',
'000_002_003_UA_140_B',
'000_002_004_QB_140_T',
'000_002_004_QB_140_B',
'000_002_005_QA_140_T',
'000_002_005_QA_140_B',
'000_002_006_UB_140_T',
'000_002_006_UB_140_B',
'000_002_007_UA_140_T',
'000_002_007_UA_140_B',
'000_002_008_QB_140_T',
'000_002_008_QB_140_B',
'000_002_009_QA_140_T',
'000_002_009_QA_140_B',
'000_002_010_UB_140_T',
'000_002_010_UB_140_B',
'000_002_011_UA_140_T',
'000_002_011_UA_140_B',
'000_002_012_QB_140_T',
'000_002_012_QB_140_B',
'000_002_013_QA_140_T',
'000_002_013_QA_140_B',
'000_002_014_UB_140_T',
'000_002_014_UB_140_B',
'000_002_015_UA_140_T',
'000_002_015_UA_140_B',
'000_002_016_QB_140_T',
'000_002_016_QB_140_B',
'000_002_017_QA_140_T',
'000_002_017_QA_140_B',
'000_005_018_UB_140_T',
'000_005_018_UB_140_B',
'000_005_019_UA_140_T',
'000_005_019_UA_140_B',
'000_005_020_QB_140_T',
'000_005_020_QB_140_B',
'000_005_021_QA_140_T',
'000_005_021_QA_140_B',
'000_005_022_UB_140_T',
'000_005_022_UB_140_B',
'000_005_023_UA_140_T',
'000_005_023_UA_140_B',
'000_005_024_QB_140_T',
'000_005_024_QB_140_B',
'000_005_025_QA_140_T',
'000_005_025_QA_140_B',
'000_005_026_UB_140_T',
'000_005_026_UB_140_B',
'000_005_027_UA_140_T',
'000_005_027_UA_140_B',
'000_005_028_QB_140_T',
'000_005_028_QB_140_B',
'000_005_029_QA_140_T',
'000_005_029_QA_140_B',
'000_005_030_UB_140_T',
'000_005_030_UB_140_B',
'000_005_031_UA_140_T',
'000_005_031_UA_140_B',
'000_005_032_QB_140_T',
'000_005_032_QB_140_B',
'000_005_033_QA_140_T',
'000_005_033_QA_140_B',
'000_005_034_UB_140_T',
'000_005_034_UB_140_B',
'000_005_035_UA_140_T',
'000_005_035_UA_140_B',
'000_006_018_UA_140_T',
'000_006_018_UA_140_B',
'000_006_019_UB_140_T',
'000_006_019_UB_140_B',
'000_006_020_QA_140_T',
'000_006_020_QA_140_B',
'000_006_021_QB_140_T',
'000_006_021_QB_140_B',
'000_006_022_UA_140_T',
'000_006_022_UA_140_B',
'000_006_023_UB_140_T',
'000_006_023_UB_140_B',
'000_006_024_QA_140_T',
'000_006_024_QA_140_B',
'000_006_025_QB_140_T',
'000_006_025_QB_140_B',
'000_006_026_UA_140_T',
'000_006_026_UA_140_B',
'000_006_027_UB_140_T',
'000_006_027_UB_140_B',
'000_006_028_QA_140_T',
'000_006_028_QA_140_B',
'000_006_029_QB_140_T',
'000_006_029_QB_140_B',
'000_006_030_UA_140_T',
'000_006_030_UA_140_B',
'000_006_031_UB_140_T',
'000_006_031_UB_140_B',
'000_006_032_QA_140_T',
'000_006_032_QA_140_B',
'000_006_033_QB_140_T',
'000_006_033_QB_140_B',
'000_006_034_UA_140_T',
'000_006_034_UA_140_B',
'000_006_035_UB_140_T',
'000_006_035_UB_140_B'],
'detector_objs': [UUID('f77095ee-1444-4be9-926f-be1faa3c40e4'),
UUID('054f432b-bec5-47f9-97a9-c35ce4b18d56'),
UUID('e8f13eee-76c8-411c-b14f-7f781c3a94ff'),
UUID('8f1df00b-e724-4456-a7a4-97970a6f7651'),
UUID('c2f870cc-eb65-45a8-95fb-4e5bae54b092'),
UUID('ae894ebb-5a03-4222-b71e-85e4dd3f2a63'),
UUID('868b52d9-941b-47bd-97b5-b82e0d6b0e08'),
UUID('e49cf1f4-9f88-4f58-9362-1f22ce57d917'),
UUID('5b12e62b-09d5-42f5-b763-79e3e431430f'),
UUID('d8818be2-5563-4f2f-9084-15bf7dfa3532'),
UUID('1a0b7fe3-746d-41fd-abec-176ce84a78e4'),
UUID('31fb6785-8600-4708-8ee9-693eaabf81f2'),
UUID('2faacfc4-285a-4e8f-bb41-eed713cbf1f5'),
UUID('e7a034fe-3061-45de-a101-b3c3b9c525e6'),
UUID('a5115a89-a360-4d46-b362-69a002ddb94e'),
UUID('142e1466-0107-4423-80ec-8b5b0df30c6f'),
UUID('6f4d660b-c9b6-4970-82cd-5b7f2f92d496'),
UUID('c1c74dff-08bc-4892-b5bc-3e1d964b1965'),
UUID('5534a3d1-b4da-4b91-8dbb-1d2874ac9fca'),
UUID('188db71d-5a46-4e11-a1f3-c7c69354fb26'),
UUID('0bc16fe4-bdc4-4579-b021-60248e8f1e27'),
UUID('5a2a0c74-97e4-4a4b-8d54-d79b07bfeb56'),
UUID('755ee7b3-32e5-4a80-b530-6ce1ffb2c78c'),
UUID('6191da98-70ad-40fc-8166-8d6f50bbf67b'),
UUID('1a8c96b3-d0df-46a2-9882-a3a4558c1879'),
UUID('dbf7dbd1-2e5b-421e-a15f-4f2c977e39ad'),
UUID('e4531260-0b2c-4d63-958a-efb7cee1484d'),
UUID('21c76112-838b-4493-add6-83a3d71c9ee3'),
UUID('a7a7d715-b3cc-46a0-914b-27446e28f618'),
UUID('e9a20547-8635-41d0-992f-2da65b426f57'),
UUID('c1424b8e-be0a-48ad-b627-00446ecfe768'),
UUID('86e849b5-9548-41f1-a357-edc9d0acb87c'),
UUID('4f47d3df-c67f-480f-b683-31d8633f4cb5'),
UUID('2acdb532-a38a-4f10-875b-dda64a04b721'),
UUID('6c78d7ca-1056-4bfe-ab26-fcbc844a0065'),
UUID('14a68167-f20f-4ac2-a06b-8e77fdcd8a1e'),
UUID('ff85ea99-47ed-4e2b-8a9e-de25a42ff3dd'),
UUID('09190816-34c9-4902-844e-ab4e4254fd75'),
UUID('9537af9e-c513-448c-a7cd-b75e3261e4eb'),
UUID('1637c34f-a59a-40f5-85d7-a3eb44f3d938'),
UUID('9ed7a5c5-96d3-473f-8df9-691ecaa15b2f'),
UUID('627e806b-a5bd-47d2-a79b-09bc0587257a'),
UUID('379bf5d7-4271-4d5e-8dbf-c963d0147214'),
UUID('1945d114-a961-4bc0-bb4a-8cd9b6f2ab16'),
UUID('9e0d99ca-a65c-4733-9689-68ddaad04765'),
UUID('cc01ec0e-8823-4aec-8efc-0ef5dece8026'),
UUID('b9feb436-8722-4773-901d-84102d48c2e3'),
UUID('949cc599-3d3e-4229-bb60-f8b2619960ba'),
UUID('7f6236c7-5d4f-456f-bc9b-18314abcdbfb'),
UUID('d7dea721-6871-4fb4-ae69-312f548735f2'),
UUID('13077b8f-b2e6-4b59-995a-f0a8c3013873'),
UUID('b7b35915-aaea-4c66-abd6-c17ee74e013d'),
UUID('bc0b5c5d-4bb8-44a3-b0ff-19df5abaf562'),
UUID('21d859ad-29c4-4fce-83e6-3a88995e94b6'),
UUID('8f4973a3-5fbd-4a0d-80ba-6416408dda42'),
UUID('06997a09-9baa-4635-bf32-7dd40f3d07f9'),
UUID('356dc9f9-d4de-42cc-bfa6-29b65406139b'),
UUID('986ffdfa-e3d0-44ed-9b2e-2a664c55d40f'),
UUID('1c796af4-760e-4ac6-a473-2be663e80547'),
UUID('476a287c-7e73-4f32-9527-f3119e150ad7'),
UUID('ac499d2d-e987-4eef-b6d3-9c9b9ec8fc5f'),
UUID('7e30f4e5-5d14-4cb3-bf12-c77cac8a558d'),
UUID('a13fd5e8-9b9d-46de-ba5c-bccb8e10b74a'),
UUID('88c24ed6-21da-49bb-a5cc-29e722781768'),
UUID('99958c67-2266-4268-b4a4-fa828e82b281'),
UUID('eb0be8bd-ec25-4324-844c-6c442828d53c'),
UUID('dcabacec-2b93-4733-8a59-fb9106b80162'),
UUID('097c8700-2072-43b9-a66c-cd9d8943759d'),
UUID('e8fd8ac6-d36d-41b4-a363-db9cb2b39880'),
UUID('d52e4d1c-8ad3-481c-aff4-3ca46141104e'),
UUID('ee69d142-3a69-463e-ba8a-d3ffc4368406'),
UUID('4c902ef9-9098-463e-858e-aad06525f563'),
UUID('d74b7863-f1b1-4410-bc87-46ba4028519c'),
UUID('55f9c8af-6d80-46fb-a214-71bed62c73b8'),
UUID('39fa44e9-3a2a-4059-bbe2-da7818dbbe9b'),
UUID('46ecbe50-2510-4a8a-8a0a-4b24bcc73a47'),
UUID('ab16ea9d-8f2f-4680-bc1b-ec06a1f24bb2'),
UUID('ef271dcf-2d04-4a79-9df7-113082101268'),
UUID('b3f05beb-64b1-4440-9c0c-b600918c4513'),
UUID('932fd773-6429-4d34-a692-ce2b1a5e90c5'),
UUID('6390d644-fb66-4a69-96ec-74ed87fc5e8e'),
UUID('802d3b84-3eee-45fc-a015-c02e1f18df87'),
UUID('c0ff0020-c47d-4671-980d-ad7571ab251e'),
UUID('87c7af2c-d995-4cd8-b791-667d3817bc3d'),
UUID('a6a0c901-eb91-42ae-8c01-ba7bf4baab8c'),
UUID('8399653e-95b3-46ed-978f-d78ae2f531b8'),
UUID('aef0b912-d447-42dc-8ae7-eacdda65d988'),
UUID('2c41360d-8d72-4606-a4fb-4b3317faca1b'),
UUID('f33c6c8d-1e3f-4648-8711-32931caad753'),
UUID('f7ec83fa-e8a0-47fd-9939-d391070b1330'),
UUID('8305a37b-c1a7-41e5-8da6-e446a546d905'),
UUID('d1676f67-4003-4327-960a-93f8b7bb74ce'),
UUID('f70ee8c1-d14c-4f27-a0a6-fc97913b8dc2'),
UUID('53d9dd33-4a67-4319-bd94-f4e6f7241de7'),
UUID('f1e3d470-2f37-4e96-965e-d0970526b044'),
UUID('113e4f83-7539-4dfc-bdfa-418e148c0315'),
UUID('d65e5c9b-55b2-4082-bcb8-cff3472319ee'),
UUID('cbed8667-4723-4ca0-9951-1f4e758e315f'),
UUID('9eb95cf5-eeea-4da3-88e8-f606d271930d'),
UUID('cc0bc479-9e7f-4bdb-aeee-b357e44d9ec5'),
UUID('705f0e0e-2497-4678-a99f-a2cbbc21a2a7'),
UUID('86a050dd-c44a-4d92-8957-2ee5b2420fe0'),
UUID('01a33749-bdd6-43c2-bd3d-851fe61f0dcc'),
UUID('12063c88-077c-4a64-aef2-c76ff9b9fb09'),
UUID('68d8e89d-00e7-4bf3-ba96-ab47b251ac18'),
UUID('fefce95c-f2e9-42db-b6bd-cb1478b2982b'),
UUID('6b279026-e266-4459-8912-3a7cbc8e5524'),
UUID('7d9016ed-045b-4692-ab7c-285054653052'),
UUID('c6780ce4-6026-4381-9441-b9d63bb9b9e9'),
UUID('1279ad37-4ab3-4e1b-a61a-9f4451ae5efd'),
UUID('4146569d-0483-45d8-8426-6dec3f667ffa'),
UUID('d96c3cc5-b72f-4523-821f-7a306fcb708f'),
UUID('5c4e314d-92e1-450f-9535-37819ffeb4c9'),
UUID('caf9ab04-089c-480c-bfeb-13b9de9eab92'),
UUID('6499c869-2497-4535-9449-4c66147a8f76'),
UUID('51524b8a-f08a-4865-9a80-27c174655394'),
UUID('f0e84046-c361-43b3-ac7a-d60aee9fc68c'),
UUID('55c345d8-6032-48ab-ad74-319d24548aef'),
UUID('bd47990f-a4da-4cae-ac83-8a47cb90d549'),
UUID('e8b67323-0765-46bd-9c62-4c8b0603f8bd'),
UUID('ec6ce71c-a4f4-4269-b9f0-b23cc1c07a67'),
UUID('90c521c7-9548-46da-8c0d-9d43920afcaa'),
UUID('acf989ee-2339-4fee-a656-6ac826a5524b'),
UUID('cb609419-faf6-4b3b-bef3-f38d29fc4284'),
UUID('b10f963f-0023-4536-846f-d43af08d87db'),
UUID('6c295763-7201-43e0-8aa8-fcb287018fb8'),
UUID('02a1b41c-f235-4b94-8260-c3c579acf492'),
UUID('e40b80c9-9b2f-48b9-9a3b-1644fe0e1d8c'),
UUID('06fc1ffe-278a-4f6a-b70f-913275a1f9f4'),
UUID('86698758-8880-4003-a9d8-c3c6a737623d'),
UUID('bfbd8e00-1a34-4560-88e8-897482c68c10'),
UUID('14fde6f8-8e55-45d7-aa55-428b9e5be44d'),
UUID('2883acbc-571b-42c0-a479-ed1bce68634b'),
UUID('78ab89cb-078e-43ed-8558-1049834b75d4'),
UUID('bbb9c24a-b52e-4344-91d4-304df86663af'),
UUID('02fd93ed-e6b5-4b7e-a9a9-27163c36ebd0'),
UUID('8ca1708c-a121-4285-a0ec-e65c8f72acc4'),
UUID('021cbef9-0e28-4e45-b084-330edf233a67'),
UUID('9be75ee3-df59-4741-af58-3f1386f75609'),
UUID('2109ae32-95bc-4e69-b5b0-dd7a45fd1519'),
UUID('6c8feef3-a205-4aa5-a9a4-b4634c136b08'),
UUID('bfaf0751-95a2-4bb3-b2dd-eb26487b71e1'),
UUID('d588f5ca-365a-4ce0-840c-9102dd36c3b3'),
UUID('b291ca25-445d-41d4-913e-16ae8b91f1cc')],
'band': BandPassInfo(bandcenter_ghz=140.0, bandwidth_ghz=42.0, bandlow_ghz=98.0, bandhigh_ghz=182.0, nsamples_inband=128, name='', bandtype='top-hat', normalize=False, model=None, alpha_exp=1, beta_exp=1, cosine_apo_length=5, cheby_poly_order=3, cheby_ripple_dB=3)}
det = lbs.DetectorInfo.from_imo(
imo=imo,
url=f"/releases/{imo_version}/satellite/{telescope}/{channel}/{detector}/detector_info",
)
det.__dict__
{'name': '000_001_017_QB_140_T',
'wafer': 'L01',
'pixel': 17,
'pixtype': 'LP4',
'channel': 'L4-140',
'squid': None,
'sampling_rate_hz': 31.0,
'fwhm_arcmin': 23.7,
'ellipticity': 1.0,
'psi_rad': 0.0,
'bandcenter_ghz': 140.0,
'bandwidth_ghz': 42.0,
'band_freqs_ghz': array([ 98. , 98.66141732, 99.32283465, 99.98425197,
100.64566929, 101.30708661, 101.96850394, 102.62992126,
103.29133858, 103.95275591, 104.61417323, 105.27559055,
105.93700787, 106.5984252 , 107.25984252, 107.92125984,
108.58267717, 109.24409449, 109.90551181, 110.56692913,
111.22834646, 111.88976378, 112.5511811 , 113.21259843,
113.87401575, 114.53543307, 115.19685039, 115.85826772,
116.51968504, 117.18110236, 117.84251969, 118.50393701,
119.16535433, 119.82677165, 120.48818898, 121.1496063 ,
121.81102362, 122.47244094, 123.13385827, 123.79527559,
124.45669291, 125.11811024, 125.77952756, 126.44094488,
127.1023622 , 127.76377953, 128.42519685, 129.08661417,
129.7480315 , 130.40944882, 131.07086614, 131.73228346,
132.39370079, 133.05511811, 133.71653543, 134.37795276,
135.03937008, 135.7007874 , 136.36220472, 137.02362205,
137.68503937, 138.34645669, 139.00787402, 139.66929134,
140.33070866, 140.99212598, 141.65354331, 142.31496063,
142.97637795, 143.63779528, 144.2992126 , 144.96062992,
145.62204724, 146.28346457, 146.94488189, 147.60629921,
148.26771654, 148.92913386, 149.59055118, 150.2519685 ,
150.91338583, 151.57480315, 152.23622047, 152.8976378 ,
153.55905512, 154.22047244, 154.88188976, 155.54330709,
156.20472441, 156.86614173, 157.52755906, 158.18897638,
158.8503937 , 159.51181102, 160.17322835, 160.83464567,
161.49606299, 162.15748031, 162.81889764, 163.48031496,
164.14173228, 164.80314961, 165.46456693, 166.12598425,
166.78740157, 167.4488189 , 168.11023622, 168.77165354,
169.43307087, 170.09448819, 170.75590551, 171.41732283,
172.07874016, 172.74015748, 173.4015748 , 174.06299213,
174.72440945, 175.38582677, 176.04724409, 176.70866142,
177.37007874, 178.03149606, 178.69291339, 179.35433071,
180.01574803, 180.67716535, 181.33858268, 182. ]),
'band_weights': array([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,
0., 0., 0., 0., 0., 0., 0., 0., 0.]),
'net_ukrts': 38.44,
'pol_sensitivity_ukarcmin': 86.94311562385417,
'fknee_mhz': 20.0,
'fmin_hz': 1e-05,
'alpha': 1.0,
'pol': 'T',
'orient': 'Q',
'quat': <litebird_sim.scanning.RotQuaternion at 0x140f916d0>,
'pol_angle_rad': 3.1964364188707495,
'pol_efficiency': 1.0,
'mueller_hwp': None,
'mueller_hwp_solver': None,
'jones_hwp': None,
'jones_hwp_solver': None,
'pointing_theta_phi_psi_deg': None,
'pointing_u_v': None,
'g_one_over_k': 0.0,
'amplitude_2f_k': 0.0,
'band': BandPassInfo(bandcenter_ghz=140.0, bandwidth_ghz=42.0, bandlow_ghz=98.0, bandhigh_ghz=182.0, nsamples_inband=128, name='', bandtype='top-hat', normalize=False, model=None, alpha_exp=1, beta_exp=1, cosine_apo_length=5, cheby_poly_order=3, cheby_ripple_dB=3)}