0.1.33
Loading...
Searching...
No Matches
pyhelios.plant_architecture_params.BudState Class Reference

State of a vegetative or floral bud, mirroring the C++ BudState enum. More...

Detailed Description

State of a vegetative or floral bud, mirroring the C++ BudState enum.

The values are the wire format passed to the native library, so they match the C++ enumerators (BUD_DORMANT through BUD_DEAD) one for one.

DEAD means the bud will produce nothing further. It is set both when a bud is killed by :meth:~pyhelios.PlantArchitecture.PlantArchitecture.removeShootVegetativeBuds or by a failed bud-break draw – and when a bud has already broken into a child shoot. A count of dead buds is therefore not a count of killed buds; to test whether a shoot can still grow, count the live states instead.

Definition at line 82 of file plant_architecture_params.py.

+ Inheritance diagram for pyhelios.plant_architecture_params.BudState:
+ Collaboration diagram for pyhelios.plant_architecture_params.BudState:

Static Public Attributes

int DORMANT = 0
 
int ACTIVE = 1
 
int FLOWER_CLOSED = 2
 
int FLOWER_OPEN = 3
 
int FRUITING = 4
 
int DEAD = 5
 

Member Data Documentation

◆ ACTIVE

int pyhelios.plant_architecture_params.BudState.ACTIVE = 1
static

Definition at line 85 of file plant_architecture_params.py.

◆ DEAD

int pyhelios.plant_architecture_params.BudState.DEAD = 5
static

Definition at line 89 of file plant_architecture_params.py.

◆ DORMANT

int pyhelios.plant_architecture_params.BudState.DORMANT = 0
static

Definition at line 84 of file plant_architecture_params.py.

◆ FLOWER_CLOSED

int pyhelios.plant_architecture_params.BudState.FLOWER_CLOSED = 2
static

Definition at line 86 of file plant_architecture_params.py.

◆ FLOWER_OPEN

int pyhelios.plant_architecture_params.BudState.FLOWER_OPEN = 3
static

Definition at line 87 of file plant_architecture_params.py.

◆ FRUITING

int pyhelios.plant_architecture_params.BudState.FRUITING = 4
static

Definition at line 88 of file plant_architecture_params.py.


The documentation for this class was generated from the following file: