Skip to main content

Lightmorphic signatures analysis toolkit (LSAT)

Project description

Spatiotemporal lightmorphic computing

The Python implementation of the Spatiotemporal lightmorphic computing for Carpathian roads (2021) and it’s continuation Lightmorphic Signatures Analysis Toolkit (2022).

In addition to providing a core functionality, the software package enables specific optimizations with its modular and customizable design.

Attribution

If you use this software for your research, please also cite Damian (2021)

@ARTICLE{10.4108/eai.27-4-2021.169422,
    author={Dumitru Damian},
    title={Spatiotemporal lightmorphic computing for Carpathian roads},
    journal={EAI Endorsed Transactions on Context-aware Systems and Applications},
    volume={7},
    number={23},
    publisher={EAI},
    journal_a={CASA},
    year={2021},
    month={4},
    keywords={Carpathians, BH1750, framework, patterns, lightmorphic, Arduino, Spatiotemporal},
    doi={10.4108/eai.27-4-2021.169422}}

and Damian (2022)

@misc{damian2022lightmorphic,
      title={Lightmorphic Signatures Analysis Toolkit},
      author={D. Damian},
      year={2022},
      eprint={2301.00281},
      archivePrefix={arXiv},
      primaryClass={cs.LG}}

The lightmorphic signatures data is analyzed and processed using ARXDE™.

The weather data can be retrieved after getting the OpenWeather One Call API 3.0.

Installation

In a command window, check your installed Python and pip versions. For Unix systems:

python3 --version
python3 -m pip --version

For Windows systems:

py --version
py -m pip --version

If everything checks, type:

pip install lightmorphic

or, only for selected users, without writing access to the global site-packages directory:

pip install --user lightmorphic

Python external imports

from sys import path, ver

Running example

>>> from lightmorphic import *
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The lightmorphic.database.atmospheric_domain.adlsa_RO module is initialized.
The lightmorphic.database.distributions.dlsa module is initialized.
The lightmorphic.database.earth_specific_domains.edlsa module is initialized.
The lightmorphic.database.light.lilsa module is initialized.
The lightmorphic.database.outer_space_domain.oslsa module is initialized.
The lightmorphic.database.trajectories.tlsa module is initialized.
The lightmorphic.constants.ct module is initialized.
The lightmorphic.functions.shape_morphing module is initialized.
The lightmorphic.functions.isochronous_trajectory_patterns module is initialized.
The lightmorphic.functions.lightmorphic_functions module is initialized.
The lightmorphic.functions.machine_learning module is initialized.
The lightmorphic.functions.mean_error module is initialized.
The lightmorphic.functions.neural_network module is initialized.
The lightmorphic.spectrograms.spectrograms_plot module is initialized.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do you wish to add data for the atmospheric domain (y/n): y
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The OpenWeather One Call API is used to retrive the city specific weather data.
The value you enter is not recorded, saved or transmitted.
So each time you call the OpenWeather One Call API you will have to enter it manually at the promt.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter the value of your private OpenWeather One Call API:*****
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Currently available countries: Romania.
Enter the cities, in travelling order, separated by a comma and a space. (Example: city1, city2)
Also, you can enter the country code followed by the regional abbreviation. (Example: RO-B)
Or the country code to update data for all the cities in that country. (Example: RO)
Your input: Bucuresti
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bucuresti: successfully retrieved the atmospheric data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do you wish to add data from the ARXDE™ (y/n): y
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Data from ARXDE™ not available. Using the already archived data instead.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Calling individual functions

>>>from lightmorphic.functions.isochronous_trajectory_patterns import *
>>>dir()
>>>[..., 'tera', 'tetrahedral_mesh', 'theta', 'travel_time', 'triangle_mesh', ...]
>>>tetrahedral_mesh()
>>>Function not yet implemented.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lightmorphic-0.1.1.tar.gz (644.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lightmorphic-0.1.1-py3-none-any.whl (950.4 kB view details)

Uploaded Python 3

File details

Details for the file lightmorphic-0.1.1.tar.gz.

File metadata

  • Download URL: lightmorphic-0.1.1.tar.gz
  • Upload date:
  • Size: 644.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for lightmorphic-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ef36addfe9ecde9162df65feec2e8750e6e5f7fa84130806c2cc4b906b677c19
MD5 98fb0fb380917fd8725cb571d874174f
BLAKE2b-256 ebbc65afa3509c60e92d5c04c920055a1c853996b33b96c75b3017781f50cbdb

See more details on using hashes here.

File details

Details for the file lightmorphic-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lightmorphic-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 950.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for lightmorphic-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6592729e6831de0e975e5279a09bb97f54705d7599280e05f6339dd923e5ce37
MD5 74919a1921e9eddad8e6fb427c3c69f0
BLAKE2b-256 13a8977ca0b224c997e9e452bcd2e14fd54749345fad6cb207d24b94caf690c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page