Example plans¶
This notebook shows all the possible scan configurations.
[1]:
from maria import Planner
from maria.cmb import generate_cmb_patch
cmb_patch = generate_cmb_patch(width=5, center=(150, -45), frame="ra/dec")
planner = Planner(target=cmb_patch, site="llano_de_chajnantor", constraints={"el": (40, 90)})
[2]:
plans = planner.generate_plans(total_duration=900,
scan_type="daisy",
scan_parameters={"radius": 1e0, "speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-10-22 16:16:23.761 WARNING: No sample rate passed, assuming 100 Hz
2026-10-22 16:16:25.671 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:25.704 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:25.738 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.
[3]:
plans = planner.generate_plans(total_duration=900,
scan_type="raster",
scan_parameters={"radius": 1e0, "n": [(25, 1), (1, 26)], "speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-10-22 16:16:29.959 WARNING: No sample rate passed, assuming 100 Hz
2026-10-22 16:16:30.774 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:30.808 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:30.839 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.
[4]:
plans = planner.generate_plans(total_duration=900,
scan_type="double_circle",
scan_parameters={"radius": 1e0,
"ratio": 0.75,
"speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-10-22 16:16:34.408 WARNING: No sample rate passed, assuming 100 Hz
2026-10-22 16:16:35.402 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:35.433 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:35.464 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.
[5]:
plans = planner.generate_plans(total_duration=900,
scan_type="lissajous",
scan_parameters={"x_throw": 1e0,
"y_throw": 0.75,
"speed": 2e-1})
plans[0].plot()
plans[0].plot_hits(instrument="test/1deg")
2026-10-22 16:16:39.089 WARNING: No sample rate passed, assuming 100 Hz
2026-10-22 16:16:39.897 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:39.930 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-10-22 16:16:39.962 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.