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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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