{ "cells": [ { "cell_type": "markdown", "id": "45cbd40d", "metadata": {}, "source": [ "# Quickstart - basic example\n", "\n", "Here, we show a basic workflow for generating a scene, selecting a scanner and platform, planning a survey and running the simulation. In the remaining chapter, we will look at the individual components of the workflow in more detail." ] }, { "cell_type": "code", "execution_count": 1, "id": "e2f24f2d", "metadata": {}, "outputs": [], "source": [ "import helios\n", "\n", "large_box = helios.ScenePart.from_obj(\"../data/sceneparts/basic/box/box100.obj\")\n", "scene = helios.StaticScene([large_box])\n", "\n", "scanner = helios.scanner_from_name(\"riegl_vz_400\")\n", "platform = helios.platform_from_name(\"tripod\")\n", "\n", "survey = helios.Survey(scanner=scanner, platform=platform, scene=scene)\n", "survey.add_leg(\n", " x=0,\n", " y=0,\n", " z=0,\n", " pulse_frequency=300_000 * helios.units.Hz,\n", " vertical_resolution=0.03 * helios.units.degree,\n", " horizontal_resolution=0.03 * helios.units.degree,\n", " rotation_start_angle=0 * helios.units.degree,\n", " rotation_stop_angle=30 * helios.units.degree,\n", ")\n", "\n", "pc, trajectory = survey.run()" ] } ], "metadata": { "kernelspec": { "display_name": "helios-dev-alpha", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.14.2" } }, "nbformat": 4, "nbformat_minor": 5 }