Preprocess sim data#
Before Vis-Tools can provide a visualization for a simulation’s data, a preprocessing step is required. The purpose of this preprocessing step is:
To establish the data ranges for various simulation outputs.
To distill overlarge node information into a form that uses less memory for consumption by the HTML visualization client.
To provide a way to customize what is included in the visualization, bindings between visual parameters and simulation data, and styling.
The output of the preprocessing script is a visset file. The visset file contains a subset of the information about the nodes in your simulation along with links to other related files. The visset file drives the Vis-Tools visualization client HTML.
The section describes the preprocessing cycle involved in using Vis-Tools, the preprocessing classes available to use, and the structure of the preprocessing script.
- Preprocessing cycle
- Components of a preprocessing script
- Preprocessing classes
- vis_tools
- vis_tools package
- Submodules
- vis_tools.CSVReport module
- vis_tools.CZMLWriter module
CZMLWriterCZMLWriter.k_default_node_point_sizeCZMLWriter.k_default_clock_multiplierCZMLWriter.k_default_migration_trail_durationCZMLWriter.k_default_migration_duration_daysCZMLWriter.k_default_migration_duration_secondsCZMLWriter.set_sim_dates()CZMLWriter.set_sim_duration()CZMLWriter.add_nodes()CZMLWriter.add_migrations()CZMLWriter.add_vector_migrations()CZMLWriter.add_simplified_vector_migrations()CZMLWriter.add_event_markers()CZMLWriter.add_weighted_network()CZMLWriter.write_czml()
- vis_tools.Color module
- vis_tools.Config module
- vis_tools.Demographics module
- vis_tools.Gradient module
- vis_tools.MigrationHelpers module
- vis_tools.NamedColors module
NamedColorsNamedColors.aliceblueNamedColors.antiquewhiteNamedColors.aquaNamedColors.aquamarineNamedColors.azureNamedColors.beigeNamedColors.bisqueNamedColors.blackNamedColors.blanchedalmondNamedColors.blueNamedColors.bluevioletNamedColors.brownNamedColors.burlywoodNamedColors.cadetblueNamedColors.chartreuseNamedColors.chocolateNamedColors.coralNamedColors.cornflowerblueNamedColors.cornsilkNamedColors.crimsonNamedColors.cyanNamedColors.darkblueNamedColors.darkcyanNamedColors.darkgoldenrodNamedColors.darkgrayNamedColors.darkgreyNamedColors.darkgreenNamedColors.darkkhakiNamedColors.darkmagentaNamedColors.darkolivegreenNamedColors.darkorangeNamedColors.darkorchidNamedColors.darkredNamedColors.darksalmonNamedColors.darkseagreenNamedColors.darkslateblueNamedColors.darkslategrayNamedColors.darkslategreyNamedColors.darkturquoiseNamedColors.darkvioletNamedColors.deeppinkNamedColors.deepskyblueNamedColors.dimgrayNamedColors.dimgreyNamedColors.dodgerblueNamedColors.firebrickNamedColors.floralwhiteNamedColors.forestgreenNamedColors.fuchsiaNamedColors.gainsboroNamedColors.ghostwhiteNamedColors.goldNamedColors.goldenrodNamedColors.grayNamedColors.greyNamedColors.greenNamedColors.greenyellowNamedColors.honeydewNamedColors.hotpinkNamedColors.indianredNamedColors.indigoNamedColors.ivoryNamedColors.khakiNamedColors.lavenderNamedColors.lavenderblushNamedColors.lawngreenNamedColors.lemonchiffonNamedColors.lightblueNamedColors.lightcoralNamedColors.lightcyanNamedColors.lightgoldenrodyellowNamedColors.lightgrayNamedColors.lightgreyNamedColors.lightgreenNamedColors.lightpinkNamedColors.lightsalmonNamedColors.lightseagreenNamedColors.lightskyblueNamedColors.lightslategrayNamedColors.lightslategreyNamedColors.lightsteelblueNamedColors.lightyellowNamedColors.limeNamedColors.limegreenNamedColors.linenNamedColors.magentaNamedColors.maroonNamedColors.mediumaquamarineNamedColors.mediumblueNamedColors.mediumorchidNamedColors.mediumpurpleNamedColors.mediumseagreenNamedColors.mediumslateblueNamedColors.mediumspringgreenNamedColors.mediumturquoiseNamedColors.mediumvioletredNamedColors.midnightblueNamedColors.mintcreamNamedColors.mistyroseNamedColors.moccasinNamedColors.navajowhiteNamedColors.navyNamedColors.oldlaceNamedColors.oliveNamedColors.olivedrabNamedColors.orangeNamedColors.orangeredNamedColors.orchidNamedColors.palegoldenrodNamedColors.palegreenNamedColors.paleturquoiseNamedColors.palevioletredNamedColors.papayawhipNamedColors.peachpuffNamedColors.peruNamedColors.pinkNamedColors.plumNamedColors.powderblueNamedColors.purpleNamedColors.redNamedColors.rosybrownNamedColors.royalblueNamedColors.saddlebrownNamedColors.salmonNamedColors.sandybrownNamedColors.seagreenNamedColors.seashellNamedColors.siennaNamedColors.silverNamedColors.skyblueNamedColors.slateblueNamedColors.slategrayNamedColors.slategreyNamedColors.snowNamedColors.springgreenNamedColors.steelblueNamedColors.tanNamedColors.tealNamedColors.thistleNamedColors.tomatoNamedColors.turquoiseNamedColors.violetNamedColors.wheatNamedColors.whiteNamedColors.whitesmokeNamedColors.yellowNamedColors.yellowgreen
- vis_tools.SpatialBinary module
- vis_tools.SpatialBinaryHeader module
- vis_tools.SpatialReports module
- vis_tools.Survey module
- vis_tools.VisSet module
VisSetVisSet.k_default_vissetVisSet.k_visset_file_nameVisSet.k_infected_migrations_file_nameVisSet.k_vector_migrations_file_nameVisSet.k_network_layer_file_nameVisSet.k_geospatialVisSet.k_errno_permission_deniedVisSet.k_nodes_as_pointsVisSet.k_nodes_as_shapesVisSet.k_node_shape_squareVisSet.k_marker_shape_triangleVisSet.k_marker_shape_crossVisSet.k_marker_placement_topVisSet.k_marker_placement_leftVisSet.k_marker_placement_bottomVisSet.k_marker_placement_rightVisSet.k_default_marker_duration_daysVisSet.set_sim_id()VisSet.set_asset_map_path()VisSet.set_verbose()VisSet.get_output_directory()VisSet.get_products_directory()VisSet.get_config()VisSet.get_demographics()VisSet.get_event_recorder()VisSet.set_target_client()VisSet.set_node_vis_type()VisSet.set_output_directory()VisSet.set_products_directory()VisSet.set_demographics()VisSet.set_demographics_files()VisSet.set_config()VisSet.set_event_recorder()VisSet.set_inset_chart()VisSet.set_custom_base_layer()VisSet.set_start_date()VisSet.add_node_field()VisSet.add_spatial_reports()VisSet.add_marker_layer()VisSet.add_infected_human_migrations()VisSet.add_vector_migrations()VisSet.add_simplified_vector_migrations()VisSet.add_binding()VisSet.opacity_one()VisSet.add_weighted_network_layer()VisSet.show_layer()VisSet.hide_layer()VisSet.exclude_spatial_channels()VisSet.include_spatial_channels()VisSet.exclude_nodes_from_stats()VisSet.exclude_node_from_stats()VisSet.update_nodes()VisSet.update_ranges()VisSet.validate()VisSet.write()VisSet.write_as()VisSet.update_urls()
- Submodules
- vis_tools package
- vis_tools