scalefree 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
README.md ADDED
@@ -0,0 +1,585 @@
1
+ # scalefree :dizzy:
2
+
3
+ <img alt="logo" align="right" src="./images/hstpromo.jpeg" width="15%" />
4
+
5
+ ### This is a software developped by the [HSTPROMO](https://www.stsci.edu/~marel/hstpromo.html) collaboration
6
+
7
+ * Scale-free Modeling Software to predict the intrinsic and\
8
+ projected kinematical quantities of axisymmetric mass densities\
9
+ with anisotropic velocity distributions in spherical potentials.
10
+
11
+ * Gauss-Hermite fitting routine.
12
+
13
+
14
+ ## PART I: GENERAL INFORMATION
15
+
16
+ ### Authors:
17
+
18
+ * Roeland P. van der Marel,
19
+
20
+ >1994-1995 :\
21
+ &emsp; development of code\
22
+ address : Space Telescope Science Institute\
23
+ Research Programs Office (RPO)\
24
+ 3700 San Martin Drive\
25
+ Baltimore, MD 21218\
26
+ Tel : (+1) 410 338 4931\
27
+ Fax : (+1) 410 338 4596\
28
+ e-mail : marel@stsci.edu\
29
+ homepage : https://www.stsci.edu/~marel/
30
+
31
+ * Jos H. J. de Bruijne,
32
+
33
+ >1994-1995 :\
34
+ &emsp; testing and application of code\
35
+ address : Sterrewacht Leiden\
36
+ Postbus 9513\
37
+ 2300 RA Leiden\
38
+ The Netherlands\
39
+ Tel : (+31) 71 5275878\
40
+ Fax : (+31) 71 5275819\
41
+ e-mail : debruyne@strw.LeidenUniv.nl\
42
+ homepage : http://www.strw.leidenuniv.nl/~debruyne/
43
+
44
+ * Eduardo Vitral,
45
+
46
+ >2023 :\
47
+ &emsp; development of the Python interface\
48
+ &emsp; implementation of plane-of-sky routines\
49
+ &emsp; testing and application of code\
50
+ address : Space Telescope Science Institute\
51
+ Science Mission Office (SMO)\
52
+ 3700 San Martin Drive\
53
+ Baltimore, MD 21218\
54
+ e-mail : evitral@stsci.edu\
55
+ homepage : https://eduardo-vitral.github.io
56
+
57
+ ### Summary of the method
58
+
59
+ We consider the case of a scale-free spheroidal mass density with an
60
+ anisotropic velocity distribution in a scale-free spherical
61
+ potential. The assumption of a spherical potential has the advantage
62
+ that all integrals of motion are known explicitly. Two families of
63
+ phase-space distribution functions are considered. The **case I**
64
+ distribution functions are anisotropic generalizations of the
65
+ flattened $f(E,L_z)$ model, which they include as a special case. The
66
+ **case II** distribution functions generate flattened
67
+ constant-anisotropy models. Free parameters control the radial
68
+ power-law slopes of the mass density and potential, the flattening of
69
+ the mass distribution, and the velocity dispersion anisotropy. The
70
+ models can describe the outer parts of galaxies and the density cusp
71
+ structure near a central black hole, but also provide general insight
72
+ into the dynamical properties of flattened systems. Because of their
73
+ simplicity, they provide a useful complementary approach to the
74
+ construction of flattened self-consistent three-integral models for
75
+ elliptical galaxies.
76
+
77
+
78
+ ### References
79
+
80
+ The method and some applications are discussed in the following papers:
81
+ ```
82
+ `Scale-free dynamical models for galaxies:
83
+ flattened densities in spherical potentials'
84
+ de Bruijne J., van der Marel R.P., de Zeeuw P.T.
85
+ MNRAS, 282, 909-925, 1996
86
+ ```
87
+ which can be retrieved at this [link](https://ui.adsabs.harvard.edu/abs/1996MNRAS.282..909D/abstract).
88
+
89
+ ```
90
+ `HSTPROMO Internal Proper Motion Kinematics of Dwarf Spheroidal Galaxies:
91
+ I. Velocity Anisotropy and Dark Matter Cusp Slope of Draco'
92
+ Vitral E., van der Marel R.P., Sohn T.S., et al.
93
+ ApJ, 970, 1, 2024
94
+ ```
95
+ which can be retrieved at this [link](https://ui.adsabs.harvard.edu/abs/2024ApJ...970....1V/abstract).
96
+
97
+
98
+ ### Acknowledgments
99
+
100
+ If you have found this software useful for your research, we would
101
+ appreciate an acknowledgment to *"use of the Scale-free Modeling
102
+ Software developed by R.P. van der Marel, J.H.J. de Bruijne and E. Vitral"*,
103
+ along with a citation to the papers from the **References** section above.
104
+ The respective `BibTeX` formats are:
105
+
106
+ ```bibtex
107
+ @ARTICLE{1996MNRAS.282..909D,
108
+ author = {{de Bruijne}, Jos H.~J. and {van der Marel}, Roeland P. and {de Zeeuw}, P. Tim},
109
+ title = "{Scale-free dynamical models for galaxies: flattened densities in spherical potentials}",
110
+ journal = {\mnras},
111
+ keywords = {LINE: PROFILES, GALAXIES: ELLIPTICAL AND LENTICULAR, CD, GALAXIES: INDIVIDUAL: NGC 2434, GALAXIES: INDIVIDUAL: NGC 3706, GALAXIES: KINEMATICS AND DYNAMICS, GALAXIES: STRUCTURE, Astrophysics},
112
+ year = 1996,
113
+ month = oct,
114
+ volume = {282},
115
+ number = {3},
116
+ pages = {909-925},
117
+ doi = {10.1093/mnras/282.3.909},
118
+ archivePrefix = {arXiv},
119
+ eprint = {astro-ph/9601044},
120
+ primaryClass = {astro-ph},
121
+ adsurl = {https://ui.adsabs.harvard.edu/abs/1996MNRAS.282..909D},
122
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
123
+ }
124
+ ```
125
+
126
+ ```bibtex
127
+ @ARTICLE{2024ApJ...970....1V,
128
+ author = {{Vitral}, Eduardo and {van der Marel}, Roeland P. and {Sohn}, Sangmo Tony and {Libralato}, Mattia and {del Pino}, Andr{\'e}s and {Watkins}, Laura L. and {Bellini}, Andrea and {Walker}, Matthew G. and {Besla}, Gurtina and {Pawlowski}, Marcel S. and {Mamon}, Gary A.},
129
+ title = "{HSTPROMO Internal Proper-motion Kinematics of Dwarf Spheroidal Galaxies. I. Velocity Anisotropy and Dark Matter Cusp Slope of Draco}",
130
+ journal = {\apj},
131
+ keywords = {Dark matter, Dwarf spheroidal galaxies, Astronomy data analysis, Proper motions, Stellar kinematics, Stellar dynamics, Galaxy dynamics, Galaxy structure, 353, 420, 1858, 1295, 1608, 1596, 591, 622, Astrophysics - Astrophysics of Galaxies, Astrophysics - Cosmology and Nongalactic Astrophysics},
132
+ year = 2024,
133
+ month = jul,
134
+ volume = {970},
135
+ number = {1},
136
+ eid = {1},
137
+ pages = {1},
138
+ doi = {10.3847/1538-4357/ad571c},
139
+ archivePrefix = {arXiv},
140
+ eprint = {2407.07769},
141
+ primaryClass = {astro-ph.GA},
142
+ adsurl = {https://ui.adsabs.harvard.edu/abs/2024ApJ...970....1V},
143
+ adsnote = {Provided by the SAO/NASA Astrophysics Data System}
144
+ }
145
+ ```
146
+
147
+
148
+ ### Bug Reports
149
+
150
+ Please send bug reports and important comments or questions to
151
+ marel@stsci.edu
152
+
153
+
154
+ ### Caveats
155
+
156
+ This software comes without guarantee and on an *as is* basis. It is
157
+ not being actively maintained or upgraded.
158
+
159
+ All original testing of the code was done on a `UNIX Sparc 2`
160
+ workstation with the `SunOS` operating system in the period
161
+ 1994-1995. In 1997, R.P. van der Marel ensured that the code would
162
+ run on a `Sun Ultra 170` workstation with the `solaris` operating system.
163
+ However, little detailed testing of the code was performed
164
+ on this operating system.
165
+
166
+ It is not guaranteed that the software will work without problems on
167
+ other platforms, with different operating systems and different
168
+ compilers. However, the code is close to standard fortran, so if any,
169
+ only minor revisions will be necessary.
170
+
171
+ R.P. van der Marel will consider all requests for use of this software.
172
+ However, R.P. van der Marel do
173
+ not allow people who have received the software from him to distribute
174
+ it to third parties.
175
+ Anyone who uses this software is encouraged to
176
+ send him an email with their address, so that he can send reports
177
+ of bugs and revisions.
178
+
179
+
180
+ ### Program structure
181
+
182
+ The following files/folders are present in this package:
183
+
184
+ - `ghermite/`: Folder containing Gauss-Hermite fitting routines. The files are:
185
+ - `fitvp.e`: Executable.
186
+ - `fitvp.f`: The `Fortran` program to fit Gauss-Hermite moments (up to order 10).
187
+ - `scalefree_los/`:
188
+ - `makefile`: makefile that allows compilation of the program `scalefree.f`.
189
+ - `scalefree.e`: Executable.
190
+ - `scalefree.f`: The `Fortran` program that does all the calculations.
191
+ the file also contains all necessary subroutines, some
192
+ of which are from the [*Numerical Recipes book by Press et
193
+ al.*](https://ui.adsabs.harvard.edu/abs/1992nrfa.book.....P/abstract)
194
+ - `scalefree_posr/`:
195
+ - `makefile`: makefile that allows compilation of the program `scalefree.f`.
196
+ - `scalefree.e`: Executable.
197
+ - `scalefree.f`: The `Fortran` program that does all the calculations.
198
+ the file also contains all necessary subroutines, some
199
+ of which are from the [*Numerical Recipes book by Press et
200
+ al.*](https://ui.adsabs.harvard.edu/abs/1992nrfa.book.....P/abstract)
201
+ - `scalefree_post/`:
202
+ - `makefile`: makefile that allows compilation of the program `scalefree.f`
203
+ and `fitvp.f`.
204
+ - `scalefree.e`: Executable.
205
+ - `scalefree.f`: The `Fortran` program that does all the calculations.
206
+ the file also contains all necessary subroutines, some
207
+ of which are from the [*Numerical Recipes book by Press et
208
+ al.*](https://ui.adsabs.harvard.edu/abs/1992nrfa.book.....P/abstract)
209
+ - `examp/`: directory with example input files for the program `scalefree.f`
210
+ and `fitvp.f`.
211
+ - `images/`: directory with images of the *HSTPROMO* logo and the geometry considered in `scalefree`.
212
+ - `scalefree.py`: The `Python` program that translates the `Fortran` outputs.
213
+ - `install.py`: The `Python` program that installs the code.
214
+
215
+
216
+ - `README.md`: This file. Contains instructions and a description of the
217
+ software.
218
+ - `ROTATION.md`: Contains instructions for models with rotation.
219
+ - `VPSHAPES.md`: Contains instructions for the computation of the velocity profiles.
220
+ - `VPOS.md`: Contains the formalism for plane-of-sky velocity moments.
221
+
222
+
223
+ ### Installation
224
+
225
+ To install the software, run the `install.py` file.\
226
+ The code will ask you the path where your scalefree files are installed.\
227
+ Once you type it and hit **ENTER**, the following output should be produced:
228
+ ```console
229
+ Provide the path where your scalefree files are installed.
230
+ For example: /home/yourname/code-packages/scalefree/
231
+
232
+ /YOUR-PATH/scalefree/
233
+
234
+ Installation succesfull.
235
+ Finished.
236
+ ```
237
+
238
+ This will construct the executables *`.e`.
239
+
240
+
241
+ ### Examples
242
+
243
+ The directory `./examp` contains example input files.
244
+
245
+ The code `install.py` is itself an example that runs `scalefree`, and
246
+ creates executable *`.e` files. Once the software is installed, one
247
+ can remove the `exec=True` option for faster outputs.
248
+
249
+
250
+ ### Known Bugs
251
+
252
+ As discussed below, the calculations of the Gauss-Hermite moments of
253
+ the projected velocity profiles (VPs) do not work well for certain
254
+ parameter ranges. The intrinsic and projected velocity moments should
255
+ always be highly accurate.
256
+
257
+
258
+ ## PART II: Discussion of the method
259
+
260
+ Construct galaxy models for flattened systems of test-particles
261
+ in spherical potentials, as discussed in [De Bruijne et al (1996)](https://ui.adsabs.harvard.edu/abs/1996MNRAS.282..909D/abstract).
262
+
263
+ Let $b$ be a reference length, $\rho_0$ a reference mass density, and
264
+ $W$ a reference velocity.
265
+
266
+ Introduce dimensionless units:
267
+
268
+ * $r = r_{\mathrm{true}} / b$.
269
+ * $R = R_{\mathrm{true}} / b$.
270
+ * $z = z_{\mathrm{true}} / b$.
271
+ * $v = v_{\mathrm{true}} / (\sqrt{2} W)$.
272
+ * $L = L_{\mathrm{true}} / (\sqrt{2} W b)$.
273
+ * $E = E_{\mathrm{true}} / (W^{2})$.
274
+ * $\Psi = \Psi_{\mathrm{true}} / (W^2)$.
275
+ * $\rho = \rho_{\mathrm{true}} / \rho_0$.
276
+ * $f = f_{\mathrm{true}} / [\rho_0 (2 W^2)^{-3/2}]$.
277
+
278
+ We consider two cases for the potential:
279
+
280
+ #### KEPLERIAN POTENTIAL:
281
+
282
+ Let $M$ be the total mass of the galaxy, such that $\Psi_{\mathrm{true}} = G M / r_{\mathrm{true}}$.\
283
+ Then choose $W = \sqrt{GM/b}$.\
284
+ In these units: $\Psi = 1 / r$.
285
+
286
+ #### LOGARITHMIC POTENTIAL:
287
+
288
+ Let $V_c$ be the circular velocity, such that $\Psi_{\mathrm{true}} = - V_{c}^2 \ln{(r_{\mathrm{true}}/b)}$.
289
+ Then choose $W = V_c$.\
290
+ In these units: $\Psi = - \ln{(r)}$.
291
+
292
+ ***
293
+
294
+ Let the mass density fall off with logarithmic slope $\gamma$, and be
295
+ stratified on spheroids with axial ratio $q$:
296
+
297
+ $\rho = r^{-\gamma} (\sin(\theta)^2 + [\cos(\theta)^2/q^2])^{-\gamma/2}$.
298
+
299
+ where $\theta$ is the polar angle such that:
300
+
301
+ $R = r \sin(\theta)$ &nbsp; and &nbsp; $z = r \cos(\theta)$.
302
+
303
+ Since the potential is spherical, the quantities $E$, $L^2$, $L_z^2$ are
304
+ integrals of motion. Let $L_{\mathrm{max}}(E)$ be the maximum angular momentum that
305
+ can be attained by a star at energy $E = \Psi - v^2$.
306
+
307
+ * In the **Keplerian** potential: $L^2_{\mathrm{max}}(E) = 1 / (4E)$.
308
+
309
+ * In the **Logarithmic** potential: $L^2_{\mathrm{max}}(E) = \exp(-2E -1) / 2$
310
+
311
+ We consider even DFs that are separable functions or quasi-separable
312
+ functions of $E$, $\zeta^2$, $\eta^2$:
313
+
314
+ * **case I** : $f_e = g(E) \zeta^{-2 \beta} j(e^2 \eta^2)$
315
+
316
+ * **case II** : $f_e = g(E) \zeta^{-2 \beta} h(e^2 \eta^2 / \zeta^2)$
317
+
318
+ where:
319
+ * $\zeta^2 = L^2/L^2_{\mathrm{max}}(E)$
320
+
321
+ * $\eta^2 = L_z^2/L^2_{\mathrm{max}}(E)$
322
+
323
+ * $e^2 = 1 - q^2$
324
+
325
+ and $\beta$ is a free parameter. With these ansatz's, the functions
326
+ $j$ and $h$ are determined uniquely (see [De Bruijne et al, 1996](https://ui.adsabs.harvard.edu/abs/1996MNRAS.282..909D/abstract)).
327
+
328
+ To allow models with rotation, please read this [link](./ROTATION.md).
329
+
330
+ In addition to the calculation of the intrinsic and projected velocity
331
+ moments, the program `scalefree.f` also reconstructs the projected
332
+ line-of-sight and plane-of-sky
333
+ VP shapes (details [here](./VPSHAPES.md)).
334
+
335
+ ### Plane-of-sky additions
336
+
337
+ The current package is very similar to the original `scalefree`
338
+ software presented in
339
+ [De Bruijne et al. (1996)](https://ui.adsabs.harvard.edu/abs/1996MNRAS.282..909D/abstract),
340
+ with the difference that now it is able to solve the velocity
341
+ moments of plane of sky coordinates (POSr and POSt).
342
+ The mathematical description of the new models is given [here](./VPOS.md).
343
+
344
+ ### References
345
+
346
+ >* de Bruijne J., van der Marel R.P., de Zeeuw P.T., 1996, MNRAS, 282, 909
347
+ >* Dehnen W., Gerhard O. E., 1994, MNRAS, 268, 1019
348
+ >* Gerhard O. E., 1993, MNRAS, 265, 213
349
+ >* Press W. H., Teukolsky S. A., Vetterling W. T., Flannery B. P.,
350
+ 1992, Numerical Recipes, Second Edition.
351
+ Cambridge University Press, Cambridge
352
+ >* Qian E. E., de Zeeuw P. T., van der Marel R. P., Hunter C., 1995,
353
+ MNRAS, 274, 602
354
+ >* van der Marel R. P., Franx M., 1993, ApJ, 407, 525
355
+
356
+
357
+ ## PART III: Description of program in- and output
358
+
359
+ After the user has entered the required model parameters, and has
360
+ answered to the program how it must deal with the various numerical
361
+ details, the code is set to run.
362
+
363
+ There are three main routines in the `scalefree.py` program:
364
+
365
+ ```python
366
+ scalefree.hermite(input, exec=False)
367
+ """
368
+ Returns the fits of a Gauss-Hermite adjustment to data.
369
+
370
+ Parameters
371
+ ----------
372
+ input: str
373
+ Path where to find the data to be fitted.
374
+ Expected file shape:
375
+ --> First line (header): " v VP(v)"
376
+ --> 1st column: x / 2nd column: f(x)
377
+ exec: boolean
378
+ True, if the user wants to generate new .e files.
379
+
380
+ Returns
381
+ -------
382
+ fitinfo : dictionaries
383
+ In order:
384
+ gauss_info: real Gaussian fit.
385
+ - norm
386
+ - mean
387
+ - dispersion
388
+ gaussh_info: Gauss-Hermite fit.
389
+ - norm
390
+ - mean
391
+ - dispersion
392
+ h_moments: First 0-10 moments of the
393
+ Gauss-Hermite fit.
394
+ - hi, with i in [0, 10]
395
+ """
396
+ ```
397
+
398
+ ```python
399
+ scalefree.vprofile(
400
+ potential="1",
401
+ gamma="4",
402
+ q="1",
403
+ df="1",
404
+ beta="0",
405
+ s="0.5",
406
+ t="0",
407
+ inclination="90",
408
+ integration="1",
409
+ ngl="0",
410
+ algorithm="1",
411
+ maxmom="0",
412
+ theta="0",
413
+ xi="0",
414
+ dim=None,
415
+ average=False,
416
+ exec=False,
417
+ debug=False,
418
+ usevp=True,
419
+ ):
420
+ """
421
+ Returns the fits of a Gauss-Hermite adjustment to data.
422
+ Note: all results are at an
423
+ (intrinsic or projected) radius of 1 in
424
+ dimensionless units. Results can be scaled to other
425
+ radii using the scale-free nature of the models.
426
+
427
+ Parameters
428
+ ----------
429
+ potential: str
430
+ Kepler (1) or Logarithmic (2) Potential.
431
+ gamma: str
432
+ Power-law slope gamma of the mass density.
433
+ q: str
434
+ Intrinsic axial ratio q of the mass density.
435
+ df: str
436
+ Case I (1) or Case II (2) DF
437
+ beta: str
438
+ Anisotropy parameter beta of the DF
439
+ s: str
440
+ Odd part parameter s for the DF
441
+ t: str
442
+ Odd part parameter t for the DF
443
+ inclination: str
444
+ Viewing inclination i in degrees (90=edge-on)
445
+ integration: str
446
+ Use Romberg (0) or Gauss-Legendre (1) integration
447
+ for line-of-sight projection
448
+ ngl: str
449
+ Number of quadrature points / fractional accuracy
450
+ algorithm: str
451
+ Algorithm to calculate VPs and Gauss-Hermite moments
452
+ 1: Solve VanderMonde matrix directly without
453
+ regularization. Resulting VP will be nonsense
454
+ but the GH moments are generally well
455
+ determined.
456
+ 2: Use regularization with a fixed regularization
457
+ parameter.
458
+ 3: Use regularization. Increase regularization
459
+ parameter until the VP has no more than 3
460
+ significant local maxima. A local maximum is
461
+ significant if it exceeds the value of its
462
+ neighbors on the grid by eps times the
463
+ absolute VP maximum.
464
+ maxmom: str
465
+ Maximum number of projected moments
466
+ to use (should be an even number)
467
+ theta: str
468
+ Angle theta in the meridional plane
469
+ (in degrees) (0 = symmetry axis)
470
+ xi: str
471
+ Angle on the projected plane
472
+ (in degrees) (0 = major axis)
473
+ dim: str
474
+ Specific dimension to be considered.
475
+ ("los", "posr", "post").
476
+ average: boolean
477
+ Weather the moments are averaged over the first quadrand of
478
+ the sky. For even models, that is the same as the average
479
+ over the whole sky.
480
+ exec: boolean
481
+ True, if the user wants to generate new .e files.
482
+ debug: boolean
483
+ True, if the user whises to print the Fortran output.
484
+ usevp: boolean
485
+ True, if the user wishes to have VP information.
486
+
487
+ Returns
488
+ -------
489
+ vinfo : objects
490
+ List of fit parameters for each of the three observable
491
+ dimensions: LOS, POSr, POSt (in this order).
492
+ Each dimension is itself a collection of dictionaries.
493
+ In this order:
494
+ intmom: Intrinsic velocity moments:
495
+ - rho
496
+ - <v_ph>
497
+ - <v_r^2>
498
+ - <v_th^2>
499
+ - <v_ph^2>
500
+ - beta (for avareged models only)
501
+ projmom: Projected velocity moments:
502
+ - <rho>_p
503
+ - <v>_p
504
+ - <v^2>_p
505
+ - <v^3>_p
506
+ - <v^4>_p
507
+ gauss_info: real Gaussian model.
508
+ - norm
509
+ - mean
510
+ - dispersion
511
+ gaussh_info: Gauss-Hermite model.
512
+ - norm
513
+ - mean
514
+ - dispersion
515
+ h_moments: First 0-6 moments of the
516
+ Gauss-Hermite model.
517
+ - hi, with i in [0, 6]
518
+ vinfo: Velocity distribution function
519
+ - x
520
+ - f(x)
521
+ """
522
+ ```
523
+
524
+ ```python
525
+ scalefree.mock(
526
+ potential="1",
527
+ gamma="4",
528
+ q="1",
529
+ df="1",
530
+ beta="0",
531
+ s="0.5",
532
+ t="0",
533
+ nsamples="50",
534
+ seed="-101",
535
+ rin="1",
536
+ rout="1000",
537
+ exec=False,
538
+ debug=False,
539
+ ):
540
+ """
541
+ Returns the fits of a Gauss-Hermite adjustment to data.
542
+ Note: all results are at an
543
+ (intrinsic or projected) radius of 1 in
544
+ dimensionless units. Results can be scaled to other
545
+ radii using the scale-free nature of the models.
546
+
547
+ Parameters
548
+ ----------
549
+ potential: str
550
+ Kepler (1) or Logarithmic (2) Potential.
551
+ gamma: str
552
+ Power-law slope gamma of the mass density.
553
+ q: str
554
+ Intrinsic axial ratio q of the mass density.
555
+ df: str
556
+ Case I (1) or Case II (2) DF
557
+ beta: str
558
+ Anisotropy parameter beta of the DF
559
+ s: str
560
+ Odd part parameter s for the DF
561
+ t: str
562
+ Odd part parameter t for the DF
563
+ nsamples: int
564
+ Namber of particles to be generated.
565
+ seed: int
566
+ An integer to initialize the random sequence.
567
+ rin: float
568
+ inner radius for Monte-Carlo drawings
569
+ in dimensionless units
570
+ rout: float
571
+ outer radius for Monte-Carlo drawings
572
+ in dimensionless units
573
+ exec: boolean
574
+ True, if the user wants to generate new .e files.
575
+ debug: boolean
576
+ True, if the user whises to print the Fortran output.
577
+
578
+ Returns
579
+ -------
580
+ mock data : array of shape (N, 6)
581
+ List of random draws for x, y, z, vx, vy, vz.
582
+ """
583
+ ```
584
+
585
+ ***