Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

112 total results found

Initialize Report Lambda

Developer Manual Python - Report Lambdas

This example shows how to initialize the Voxel Farm library in a report Lambda program. import voxelfarm as vf  

Read inputs of Report Lambda

Developer Manual Python - Report Lambdas

The following example shows how to read inputs from a report lambda program. mesh_entity = vf.input_entity("mesh_entity_id", "Entity", vf.type.voxel_mesh) string_input = vf.input_string("string_input", "String Input", "") numerical_input = vf.input("numeric...

Volumetric Booleans in Report

Developer Manual Python - Report Lambdas

This example shows how to create volumetric boolean operations between volumetric datasets.   # Get inputs, in this case the entities that will have they volumes computed entityA = vf.input_entity("entityA", "Select Entity A", vf.type.voxel_generator | vf.t...

Load and Write Pandas

Developer Manual Python - Report Lambdas

This example shows how to create a Pandas dataframe from voxels inside a Report Lambda program and output a different dataframe as a result.   import pandas import voxelfarm as vf entity = vf.input_entity("entity", "Select Entity", vf.type.block_model) ...

Introduction

Quickstart Guide Spatial Lambdas

VoxelSpace's spatial lambdas are serverless functions that execute custom computations on your volumetricdata. They run near your data on highly parallel infrastructure, allowing you to process trillions of voxels inminutes. This guide explains what spatial la...

What are Spatial Lambdas?

Quickstart Guide Spatial Lambdas

Spatial lambdas are stateless cloud functions written in languages such as Python or .NET. They take voxel gridsas input, perform a computation, and return a result or a modified dataset. Examples include: Volume calculations and statistical summaries Filt...

When to Use a Lambda

Quickstart Guide Spatial Lambdas

Use a spatial lambda when you need to: Compute metrics such as total volume tonnage average density, or other summarystatistics Filter voxels based on property thresholds (e.g., density > 2.5) or remove empty voxels Resample data to a coarser or finer res...

Authoring a Lambda

Quickstart Guide Spatial Lambdas

Spatial lambdas are typically composed of three main components: 1. Input Definition Specify the dataset(s) and region of interest (bounding box or selection) to process. 2. Compute Function Write code that iterates through voxels and applies your logic. F...

Running a Lambda

Quickstart Guide Spatial Lambdas

Follow these steps to execute a spatial lambda: Step 1:Prepare Your Dataset Ensure your data is processed into an indexed dataset or voxel grid. Lambdas operate on indexed datasets ratherthan raw uploads. Step 2:Select or Upload a Lambda Navigate to your d...

Best Practices

Quickstart Guide Spatial Lambdas

Performance Optimization Limit the region: Restrict the lambda to the smallest area necessary to reduce compute costand time Efficient algorithms: Use vectorized operations where possible for better performance Memory management: Be mindful of memory usage ...

Advanced Lambda Example

Quickstart Guide Spatial Lambdas

Here's a more sophisticated lambda that performs statistical analysis: def statistical_analysis_lambda(context, voxel_reader, voxel_writer): grades = [] volumes = [] for voxel in voxel_reader: grade = voxel.properties.get('grade',0.0) if...

Troubleshooting Common Issues

Quickstart Guide Spatial Lambdas

Performance Problems Large memory usage: Process voxels in batches rather than loading all into memory Slow execution: Optimize algorithms and reduce unnecessary computations Timeout errors: Break large jobs into smaller regions    Data Issues Miss...