This is a Python package for the implementation of various equations of Free Space Optical Communication
Project description
Freesopy
A Python package for the implementation of various equations of Free Space Optical Communication
Freesopy
is designed to simplify the implementation of various mathematical equations used in Free Space Optical Communication. It provides easy-to-use functions that can be integrated into your projects.
Usaage
You can import Freesopy
as:
import freesopy as fso
Some General Equations
P_t: Transmitted power in mW
D_r: Receiver aperture diameter in meters
d: Distance between transmitter and receiver in meters
P_r: Received power in mW
L_p: Path loss in dB
N_0: Noise power spectral density in mW/Hz
Calculate Received Power
Power_received = fso.calculate_received_power(P_t, D_r, d)Calculate Path Loss
Path_loss = fso.calculate_path_loss(P_t, P_r)Calculate SNR
SNR = fso.calculate_snr(P_r, N_0)Calculation of Losses
wl = wavelength
d= distance between transmitter and receiver
alpha= atmospheric attenuation coefficient
dt= diameter of transmitter antenna
dr = diameter of receiver antenna
pt = power total
pn = power of ambient noise
sigma_p = standard deviation of pointing error
sigma_s= standard deviation due to scintillation
gamma = initial intensity of optical beam
cn = refractive structure parameter
theta= angle of divergence
theta_mis = mismatch angle divergence
Attenuation Loss
attenuation_loss = fso.atmospheric_attenuation_loss(gamma, alpha, d)
Geometric Loss
geo_loss = fso.geometric_loss(dr, dt, d, wl, pt)
Misalignment Loss
misalignment_loss = fso.pointing_misalignment_loss(d, sigma_p, pt)
Atmospheric Turbulence
turbulence_loss = fso.atmospheric_turbulence(pt, cn, d, wl)
Polarising Loss Power
polarising_loss_power = fso.polarising_loss_power(pt, theta_mis)
Ambient Noise
ambient_noise = fso.ambient_noise(pt, pn)
Beam Divergence Loss
divergence_loss = fso.beam_divergence_loss(theta, d, pt)
Scintillation Loss
scintillation_loss = fso.scintillation_loss(sigma_s, pt)
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
File details
Details for the file freesopy-1.0.2.tar.gz
.
File metadata
- Download URL: freesopy-1.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6275fdf885bfcfc33d4dc050b8c52fd881ce0e9ae13a5aea222c1331f3e6b3f |
|
MD5 | fcdd3710301aba0c9f6e048c79e1748c |
|
BLAKE2b-256 | 4798383504989687b73b0682c22d15c93212852671628f2cebbef590901f2c1b |
File details
Details for the file freesopy-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: freesopy-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8bd6d8e2227f5531dd65bbb8f10bf3ea88cadff5658faf192eb378c2ed1e093 |
|
MD5 | 1f0d80740d75c176cf3f2226744be560 |
|
BLAKE2b-256 | f54d37ce2bdaa1375a5a1ac75053e4918647bd97c4ec3951418fa4b18273171c |