picogl.examples.modern_read_picogl_data

Read PicoGL Data Script

This script demonstrates how to: 1. Read PicoGL data files (JSON format) 2. Understand the data structure 3. Convert the data back to PicoGL MeshData 4. Display the molecular structure

Functions

load_picogl_data_file(file_path)

Load PicoGL data from a JSON file

analyze_picogl_data(picogl_data)

Analyze and display information about the PicoGL data

create_mesh_from_picogl_data(picogl_data)

Create PicoGL MeshData from the loaded data

save_picogl_data_summary(picogl_data, output_file)

Save a summary of the PicoGL data

main()

Main function to demonstrate reading PicoGL data

Module Contents

picogl.examples.modern_read_picogl_data.load_picogl_data_file(file_path: str)[source]

Load PicoGL data from a JSON file

picogl.examples.modern_read_picogl_data.analyze_picogl_data(picogl_data)[source]

Analyze and display information about the PicoGL data

picogl.examples.modern_read_picogl_data.create_mesh_from_picogl_data(picogl_data)[source]

Create PicoGL MeshData from the loaded data

picogl.examples.modern_read_picogl_data.save_picogl_data_summary(picogl_data, output_file: str)[source]

Save a summary of the PicoGL data

picogl.examples.modern_read_picogl_data.main()[source]

Main function to demonstrate reading PicoGL data