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

Detailed Description

Definition at line 210 of file plant_architecture_params.py.

+ Collaboration diagram for pyhelios.plant_architecture_params.LeafPrototype:

Public Member Functions

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

Static Public Attributes

RandomParameterFloat leaf_aspect_ratio = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
 
RandomParameterFloat midrib_fold_fraction = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat longitudinal_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat lateral_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat petiole_roll = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat wave_period = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat wave_amplitude = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat longitudinal_curvature_exponent = field(default_factory=lambda: RandomParameterFloat.constant(4.0))
 
RandomParameterFloat flexibility = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat flexibility_taper = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
 
RandomParameterFloat flexibility_aging = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat flexibility_aging_max = field(default_factory=lambda: RandomParameterFloat.constant(4.0))
 
RandomParameterFloat leaf_buckle_length = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
RandomParameterFloat leaf_buckle_angle = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
 
tuple leaf_offset = (0.0, 0.0, 0.0)
 
int subdivisions = 1
 
int unique_prototypes = 1
 
bool build_petiolule = False
 
str OBJ_model_file = ""
 
Dict leaf_texture_file = field(default_factory=dict)
 
Optional prototype_function = None
 

Protected Member Functions

None _warn_if_deprecated_buckle_set (self)
 Warn when a deprecated buckle parameter carries a non-zero value.
 

Member Function Documentation

◆ _warn_if_deprecated_buckle_set()

None pyhelios.plant_architecture_params.LeafPrototype._warn_if_deprecated_buckle_set ( self)
protected

Warn when a deprecated buckle parameter carries a non-zero value.

   helios-core 1.3.84 replaced the fixed-station kink these produced with the
   continuous self-weight droop of :attr:`flexibility`. The buckle values are still
   converted to an equivalent flexibility natively, but only while :attr:`flexibility`
   is zero, so a plant setting both silently ignores the buckle pair.

Definition at line 247 of file plant_architecture_params.py.

◆ from_dict()

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

Definition at line 289 of file plant_architecture_params.py.

◆ to_dict()

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

Definition at line 262 of file plant_architecture_params.py.

Member Data Documentation

◆ build_petiolule

pyhelios.plant_architecture_params.LeafPrototype.build_petiolule = False
static

Definition at line 233 of file plant_architecture_params.py.

◆ flexibility

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.flexibility = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 219 of file plant_architecture_params.py.

◆ flexibility_aging

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.flexibility_aging = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 221 of file plant_architecture_params.py.

◆ flexibility_aging_max

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.flexibility_aging_max = field(default_factory=lambda: RandomParameterFloat.constant(4.0))
static

Definition at line 222 of file plant_architecture_params.py.

◆ flexibility_taper

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.flexibility_taper = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
static

Definition at line 220 of file plant_architecture_params.py.

◆ lateral_curvature

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.lateral_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 214 of file plant_architecture_params.py.

◆ leaf_aspect_ratio

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.leaf_aspect_ratio = field(default_factory=lambda: RandomParameterFloat.constant(1.0))
static

Definition at line 211 of file plant_architecture_params.py.

◆ leaf_buckle_angle

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.leaf_buckle_angle = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 229 of file plant_architecture_params.py.

◆ leaf_buckle_length

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.leaf_buckle_length = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 226 of file plant_architecture_params.py.

◆ leaf_offset

pyhelios.plant_architecture_params.LeafPrototype.leaf_offset = (0.0, 0.0, 0.0)
static

Definition at line 230 of file plant_architecture_params.py.

◆ leaf_texture_file

Dict pyhelios.plant_architecture_params.LeafPrototype.leaf_texture_file = field(default_factory=dict)
static

Definition at line 235 of file plant_architecture_params.py.

◆ longitudinal_curvature

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.longitudinal_curvature = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 213 of file plant_architecture_params.py.

◆ longitudinal_curvature_exponent

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.longitudinal_curvature_exponent = field(default_factory=lambda: RandomParameterFloat.constant(4.0))
static

Definition at line 218 of file plant_architecture_params.py.

◆ midrib_fold_fraction

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.midrib_fold_fraction = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 212 of file plant_architecture_params.py.

◆ OBJ_model_file

pyhelios.plant_architecture_params.LeafPrototype.OBJ_model_file = ""
static

Definition at line 234 of file plant_architecture_params.py.

◆ petiole_roll

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.petiole_roll = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 215 of file plant_architecture_params.py.

◆ prototype_function

Optional pyhelios.plant_architecture_params.LeafPrototype.prototype_function = None
static

Definition at line 236 of file plant_architecture_params.py.

◆ subdivisions

pyhelios.plant_architecture_params.LeafPrototype.subdivisions = 1
static

Definition at line 231 of file plant_architecture_params.py.

◆ unique_prototypes

pyhelios.plant_architecture_params.LeafPrototype.unique_prototypes = 1
static

Definition at line 232 of file plant_architecture_params.py.

◆ wave_amplitude

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.wave_amplitude = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 217 of file plant_architecture_params.py.

◆ wave_period

RandomParameterFloat pyhelios.plant_architecture_params.LeafPrototype.wave_period = field(default_factory=lambda: RandomParameterFloat.constant(0.0))
static

Definition at line 216 of file plant_architecture_params.py.


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