Skip to main content

variance based adaptive sampling for CBDM

Project description

raytraverse

https://img.shields.io/pypi/v/raytraverse.svg Documentation Status Build Status

raytraverse is a complete workflow for climate based daylight modelling, simulation, and evaluation of architectural spaces. Built around a variance based adaptive sampling strategy, raytraverse can fully explore the daylight conditions throughout a space with efficient use of processing power and storage space.

Installation

The easiest way to install raytraverse is with pip:

pip install raytraverse

or if you have cloned this repository:

cd path/to/this/file
pip install .

note that on first run one of the required modules will download some auxilary data which could take a minute, after that first run start-up is much faster.

Usage

raytraverse includes a complete command line interface with all commands nested under the raytraverse parent command enter:

raytraverse --help

raytraverse also exposes an object oriented API written primarily in python. calls to Radiance are made through Renderer objects that wrap the radiance c source code in c++ classes, which are made available in python with pybind11. see the src/ directory for more.

For complete documentation of the API and the command line interface either use the Documentation link included above or:

pip install -r requirements_dev.txt
make docs

to generate local documentation.

Git Stuff

this project is hosted in too places, a private repo (master branch) at:

https://gitlab.enterpriselab.ch/lightfields/raytraverse

and a public repo (release branch) at:

https://github.com/stephanwaz/raytraverse

the repo also depends on two submodules, to initialize run the following:

git clone https://github.com/stephanwaz/raytraverse
cd raytraverse
git submodule init
git submodule update --remote
git -C src/Radiance config core.sparseCheckout true
cp src/sparse-checkout .git/modules/src/Radiance/info/
git submodule update --remote --force src/Radiance

after a “git pull” make sure you also run:

git submodule update

to track with the latest commit used by raytraverse.

Licence

Copyright (c) 2020 Stephen Wasilewski
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-05-19)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raytraverse-0.1.2.tar.gz (17.8 MB view hashes)

Uploaded Source

Built Distributions

raytraverse-0.1.2-cp38-cp38-manylinux2010_x86_64.whl (887.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

raytraverse-0.1.2-cp38-cp38-manylinux2010_i686.whl (896.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

raytraverse-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl (748.6 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

raytraverse-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl (886.8 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

raytraverse-0.1.2-cp37-cp37m-manylinux2010_i686.whl (898.6 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686

raytraverse-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl (746.6 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

raytraverse-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl (886.7 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

raytraverse-0.1.2-cp36-cp36m-manylinux2010_i686.whl (898.4 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ i686

raytraverse-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl (746.4 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page