Edit on Gitlab Launch with Binder

Quick start

Installation

Install the Hipersim package from PyPi.org:

pip install hipersim

Generate and save Mann turbulence field

[2]:
from hipersim import MannTurbulenceField
mtf = MannTurbulenceField.generate(alphaepsilon=.1,
                                   L=33.6,
                                   Gamma=3.9,
                                   Nxyz=(1024,64,64),
                                   dxyz=(4,2,2),
                                   seed=1,
                                   HighFreqComp=0,
                                   double_xyz=(False, True, True))
mtf.to_hawc2()
[6]:
!ls Hipersim*

(.py311_dynamiks_jupyter7) ]9;8;"USERNAME"\@]9;8;"COMPUTERNAME"\ c:\mmpe\programming\python\Topfarm\hipersim\doc
$ ]9;12\dir Hipersim*
 Volume in drive C is Windows
 Volume Serial Number is 1AB2-743B

 Directory of c:\mmpe\programming\python\Topfarm\hipersim\doc

08-03-2024  12:57        16,777,216 Hipersim_mann_l33.6_ae0.1000_g3.9_h0_1024xd64xd64_4.000x2.00x2.00_s0001u.turb
08-03-2024  12:57        16,777,216 Hipersim_mann_l33.6_ae0.1000_g3.9_h0_1024xd64xd64_4.000x2.00x2.00_s0001v.turb
08-03-2024  12:57        16,777,216 Hipersim_mann_l33.6_ae0.1000_g3.9_h0_1024xd64xd64_4.000x2.00x2.00_s0001w.turb
               3 File(s)     50,331,648 bytes
               0 Dir(s)  48,721,588,224 bytes free
[ ]: