vlcSim 0.3.0__tar.gz → 0.3.1__tar.gz
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.
- {vlcSim-0.3.0 → vlcSim-0.3.1}/PKG-INFO +1 -1
- {vlcSim-0.3.0 → vlcSim-0.3.1}/setup.py +1 -1
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcSim.egg-info/PKG-INFO +1 -1
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcsim/scene.py +19 -13
- {vlcSim-0.3.0 → vlcSim-0.3.1}/LICENSE.md +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/README.md +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/setup.cfg +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/test/test_receiver.py +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/test/test_scenario.py +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/test/test_vled.py +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcSim.egg-info/SOURCES.txt +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcSim.egg-info/dependency_links.txt +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcSim.egg-info/not-zip-safe +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcSim.egg-info/requires.txt +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcSim.egg-info/top_level.txt +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcsim/__init__.py +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcsim/controller.py +0 -0
- {vlcSim-0.3.0 → vlcSim-0.3.1}/vlcsim/simulator.py +0 -0
|
@@ -10,7 +10,7 @@ long_description = (this_directory / "README.md").read_text()
|
|
|
10
10
|
|
|
11
11
|
setup(
|
|
12
12
|
name="vlcSim",
|
|
13
|
-
version="0.3.
|
|
13
|
+
version="0.3.1",
|
|
14
14
|
license="MIT",
|
|
15
15
|
description="Python Package of Event-Oriented Simulation for visible light communication",
|
|
16
16
|
author="Danilo Bórquez-Paredes",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
It manages the physical sustrate.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
import numpy as np
|
|
@@ -10,7 +10,13 @@ import warnings
|
|
|
10
10
|
|
|
11
11
|
class AccessPoint:
|
|
12
12
|
"""
|
|
13
|
-
Class representing a generic access point
|
|
13
|
+
Class representing a generic access point. The :class:`vlcsim.scene.AccessPoint` class is in charge of managing the physical sustrate. It has the following attributes:
|
|
14
|
+
|
|
15
|
+
- **x**: **x** coordinate of the position of this VLed.
|
|
16
|
+
- **y**: **y** coordinate of the position of this VLed.
|
|
17
|
+
- **z**: **z** coordinate of the position of this VLed.
|
|
18
|
+
- **state**: Current state of the access point. Could be IDLE or BUSY.
|
|
19
|
+
- **sliceTime**: Time of the slice in [s]
|
|
14
20
|
"""
|
|
15
21
|
|
|
16
22
|
stateap = Enum("state", "IDLE BUSY")
|
|
@@ -532,21 +538,21 @@ class Receiver:
|
|
|
532
538
|
:param z: z coordinate of the object's coordinate.
|
|
533
539
|
:param aDet: aDet value of the object's coordinate.
|
|
534
540
|
:param ts: time of the object's coordinate. Default is 10 seconds.
|
|
535
|
-
:param index
|
|
541
|
+
:param index:
|
|
536
542
|
:param fov: q of the object. Default is 1. 6e - 19.
|
|
537
|
-
:param q
|
|
543
|
+
:param q:
|
|
538
544
|
:param s: ibg b - parameter of the Ib - Galactic model. Default i 5 seconds.
|
|
539
545
|
:param b: c b - parameter of the Ib - Galactic model. Default is 5 seconds.
|
|
540
|
-
:param ibg
|
|
541
|
-
:param cb
|
|
542
|
-
:param tk
|
|
546
|
+
:param ibg:
|
|
547
|
+
:param cb:
|
|
548
|
+
:param tk:
|
|
543
549
|
:param a: n n - prameter of the B - parameter. Default is 10 seconds.
|
|
544
|
-
:param gv
|
|
545
|
-
:param n
|
|
546
|
-
:param fr
|
|
547
|
-
:param gm
|
|
548
|
-
:param i1
|
|
549
|
-
:param i2
|
|
550
|
+
:param gv:
|
|
551
|
+
:param n:
|
|
552
|
+
:param fr:
|
|
553
|
+
:param gm:
|
|
554
|
+
:param i1:
|
|
555
|
+
:param i2:
|
|
550
556
|
"""
|
|
551
557
|
self.__x = x
|
|
552
558
|
self.__y = y
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|