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
CZMLWriter
CZMLWriter.k_default_node_point_size
CZMLWriter.k_default_clock_multiplier
CZMLWriter.k_default_migration_trail_duration
CZMLWriter.k_default_migration_duration_days
CZMLWriter.k_default_migration_duration_seconds
CZMLWriter.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
NamedColors
NamedColors.aliceblue
NamedColors.antiquewhite
NamedColors.aqua
NamedColors.aquamarine
NamedColors.azure
NamedColors.beige
NamedColors.bisque
NamedColors.black
NamedColors.blanchedalmond
NamedColors.blue
NamedColors.blueviolet
NamedColors.brown
NamedColors.burlywood
NamedColors.cadetblue
NamedColors.chartreuse
NamedColors.chocolate
NamedColors.coral
NamedColors.cornflowerblue
NamedColors.cornsilk
NamedColors.crimson
NamedColors.cyan
NamedColors.darkblue
NamedColors.darkcyan
NamedColors.darkgoldenrod
NamedColors.darkgray
NamedColors.darkgrey
NamedColors.darkgreen
NamedColors.darkkhaki
NamedColors.darkmagenta
NamedColors.darkolivegreen
NamedColors.darkorange
NamedColors.darkorchid
NamedColors.darkred
NamedColors.darksalmon
NamedColors.darkseagreen
NamedColors.darkslateblue
NamedColors.darkslategray
NamedColors.darkslategrey
NamedColors.darkturquoise
NamedColors.darkviolet
NamedColors.deeppink
NamedColors.deepskyblue
NamedColors.dimgray
NamedColors.dimgrey
NamedColors.dodgerblue
NamedColors.firebrick
NamedColors.floralwhite
NamedColors.forestgreen
NamedColors.fuchsia
NamedColors.gainsboro
NamedColors.ghostwhite
NamedColors.gold
NamedColors.goldenrod
NamedColors.gray
NamedColors.grey
NamedColors.green
NamedColors.greenyellow
NamedColors.honeydew
NamedColors.hotpink
NamedColors.indianred
NamedColors.indigo
NamedColors.ivory
NamedColors.khaki
NamedColors.lavender
NamedColors.lavenderblush
NamedColors.lawngreen
NamedColors.lemonchiffon
NamedColors.lightblue
NamedColors.lightcoral
NamedColors.lightcyan
NamedColors.lightgoldenrodyellow
NamedColors.lightgray
NamedColors.lightgrey
NamedColors.lightgreen
NamedColors.lightpink
NamedColors.lightsalmon
NamedColors.lightseagreen
NamedColors.lightskyblue
NamedColors.lightslategray
NamedColors.lightslategrey
NamedColors.lightsteelblue
NamedColors.lightyellow
NamedColors.lime
NamedColors.limegreen
NamedColors.linen
NamedColors.magenta
NamedColors.maroon
NamedColors.mediumaquamarine
NamedColors.mediumblue
NamedColors.mediumorchid
NamedColors.mediumpurple
NamedColors.mediumseagreen
NamedColors.mediumslateblue
NamedColors.mediumspringgreen
NamedColors.mediumturquoise
NamedColors.mediumvioletred
NamedColors.midnightblue
NamedColors.mintcream
NamedColors.mistyrose
NamedColors.moccasin
NamedColors.navajowhite
NamedColors.navy
NamedColors.oldlace
NamedColors.olive
NamedColors.olivedrab
NamedColors.orange
NamedColors.orangered
NamedColors.orchid
NamedColors.palegoldenrod
NamedColors.palegreen
NamedColors.paleturquoise
NamedColors.palevioletred
NamedColors.papayawhip
NamedColors.peachpuff
NamedColors.peru
NamedColors.pink
NamedColors.plum
NamedColors.powderblue
NamedColors.purple
NamedColors.red
NamedColors.rosybrown
NamedColors.royalblue
NamedColors.saddlebrown
NamedColors.salmon
NamedColors.sandybrown
NamedColors.seagreen
NamedColors.seashell
NamedColors.sienna
NamedColors.silver
NamedColors.skyblue
NamedColors.slateblue
NamedColors.slategray
NamedColors.slategrey
NamedColors.snow
NamedColors.springgreen
NamedColors.steelblue
NamedColors.tan
NamedColors.teal
NamedColors.thistle
NamedColors.tomato
NamedColors.turquoise
NamedColors.violet
NamedColors.wheat
NamedColors.white
NamedColors.whitesmoke
NamedColors.yellow
NamedColors.yellowgreen
- vis_tools.SpatialBinary module
- vis_tools.SpatialBinaryHeader module
- vis_tools.SpatialReports module
- vis_tools.Survey module
- vis_tools.VisSet module
VisSet
VisSet.k_default_visset
VisSet.k_visset_file_name
VisSet.k_infected_migrations_file_name
VisSet.k_vector_migrations_file_name
VisSet.k_network_layer_file_name
VisSet.k_geospatial
VisSet.k_errno_permission_denied
VisSet.k_nodes_as_points
VisSet.k_nodes_as_shapes
VisSet.k_node_shape_square
VisSet.k_marker_shape_triangle
VisSet.k_marker_shape_cross
VisSet.k_marker_placement_top
VisSet.k_marker_placement_left
VisSet.k_marker_placement_bottom
VisSet.k_marker_placement_right
VisSet.k_default_marker_duration_days
VisSet.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