A package for lightspeed calculations
Project description
finitelight
Finitelight is a python package which adds functionality for calculating the time it takes light to travel a distance.
To calculate the time it takes for light to travel from an observer to an object given the following parameters:
- The distance to the object in kilometers
example:
import finitelight as fl
distance_to_object = 300
light_travel_time = fl.lightspeed_time(distance_to_object)
To calculate the time difference it takes for light to reach two observers from an object given:
-
From observer 1's frame of reference, the viewing angle between the second observer and the object
-
from observer 1's frame of reference, the distance to the object, and the distance to the second observer
import finitelight as fl
distance_to_object = 300
distance_to_observer = 300
viewing_angle = 90
light_travel_difference = (distance_to_object, viewing_angle, distance_to_observer)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file finitelight-0.0.1.tar.gz.
File metadata
- Download URL: finitelight-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c72c8e9764d5ef04c8bf32ece39f62fa4204b95bd7c90184d10fa5d3ca3420a
|
|
| MD5 |
2131e5745f5301ac61fbac49a13ac606
|
|
| BLAKE2b-256 |
ead3ca10e9ccaf49493ad3db7edb336df783cde6bed8312d1ec6ec420f2ac81e
|
File details
Details for the file finitelight-0.0.1-py3-none-any.whl.
File metadata
- Download URL: finitelight-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdcdbacecbdc6eb45909830cd146a6b958d69cbb00e7722a3118bcc7fa78dd08
|
|
| MD5 |
c1b483f0a33912a91b0ac5103c8fa44d
|
|
| BLAKE2b-256 |
747ea7c48f33156e3956de847e1efc66b93a6a01c9cd86971f68ace396388122
|