0.1.26
Loading...
Searching...
No Matches
pyhelios.plant_architecture_params.LeafParameters Class Reference

Detailed Description

Definition at line 323 of file plant_architecture_params.py.

+ Collaboration diagram for pyhelios.plant_architecture_params.LeafParameters:

Public Member Functions

Dict[str, Any] to_dict (self)
 
"LeafParameters" from_dict (cls, Dict[str, Any] d)
 

Static Public Attributes

RandomParameterInt leaves_per_petiole = field(default_factory=lambda: RandomParameterInt.constant(1))
 
RandomParameterFloat pitch = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat yaw = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat roll = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat leaflet_offset = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat leaflet_scale = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
 
RandomParameterFloat prototype_scale = field(default_factory=lambda: RandomParameterFloat.constant(0.05))
 
LeafPrototype prototype = field(default_factory=LeafPrototype)
 

Member Function Documentation

◆ from_dict()

"LeafParameters" pyhelios.plant_architecture_params.LeafParameters.from_dict ( cls,
Dict[str, Any] d )

Definition at line 346 of file plant_architecture_params.py.

◆ to_dict()

Dict[str, Any] pyhelios.plant_architecture_params.LeafParameters.to_dict ( self)

Definition at line 333 of file plant_architecture_params.py.

Member Data Documentation

◆ leaflet_offset

RandomParameterFloat pyhelios.plant_architecture_params.LeafParameters.leaflet_offset = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 328 of file plant_architecture_params.py.

◆ leaflet_scale

RandomParameterFloat pyhelios.plant_architecture_params.LeafParameters.leaflet_scale = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
static

Definition at line 329 of file plant_architecture_params.py.

◆ leaves_per_petiole

RandomParameterInt pyhelios.plant_architecture_params.LeafParameters.leaves_per_petiole = field(default_factory=lambda: RandomParameterInt.constant(1))
static

Definition at line 324 of file plant_architecture_params.py.

◆ pitch

RandomParameterFloat pyhelios.plant_architecture_params.LeafParameters.pitch = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 325 of file plant_architecture_params.py.

◆ prototype

LeafPrototype pyhelios.plant_architecture_params.LeafParameters.prototype = field(default_factory=LeafPrototype)
static

Definition at line 331 of file plant_architecture_params.py.

◆ prototype_scale

RandomParameterFloat pyhelios.plant_architecture_params.LeafParameters.prototype_scale = field(default_factory=lambda: RandomParameterFloat.constant(0.05))
static

Definition at line 330 of file plant_architecture_params.py.

◆ roll

RandomParameterFloat pyhelios.plant_architecture_params.LeafParameters.roll = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 327 of file plant_architecture_params.py.

◆ yaw

RandomParameterFloat pyhelios.plant_architecture_params.LeafParameters.yaw = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 326 of file plant_architecture_params.py.


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