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-08-07 15:23:49.580 WARNING: No sample rate passed, assuming 100 Hz
2026-08-07 15:23:52.748 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:23:52.792 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:23:52.835 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-08-07 15:24:08.940 WARNING: No sample rate passed, assuming 100 Hz
2026-08-07 15:24:10.913 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:24:10.958 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:24:11.004 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-08-07 15:24:24.644 WARNING: No sample rate passed, assuming 100 Hz
2026-08-07 15:24:26.516 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:24:26.562 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:24:26.607 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-08-07 15:24:39.966 WARNING: No sample rate passed, assuming 100 Hz
2026-08-07 15:24:41.740 WARNING: No noise level specified for band f090, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:24:41.785 WARNING: No noise level specified for band f150, assuming a sensitivity of 50 uK_RJ√s.
2026-08-07 15:24:41.830 WARNING: No noise level specified for band f220, assuming a sensitivity of 50 uK_RJ√s.