{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Handle all includes\n", "%load_ext autoreload\n", "%autoreload 2\n", "\n", "import os\n", "import shutil\n", "from spatz.utils.preprocess import preprocess_file\n", "from spatz.simulation import Simulation, UniformTimeSteps\n" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Load in simulation file I want\n", "simfile = \"data\\simulations\\40km.txt\"\n", "df = preprocess_file(simfile)" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Create simulation objects\n", "timesteps = UniformTimeSteps(0.1, mu=0, sigma=0, delay_only=True)\n", "simulation = Simulation(timesteps)" ] } ], "metadata": { "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 2 }