top of page

The Python Verification Script

  • stevensondouglas91
  • Mar 22
  • 1 min read

import numpy as np

import matplotlib.pyplot as plt

from scipy.fft import fft, fftfreq


# --- 1. SET THE SFIT PARAMETERS ---

nu_echo = 0.0012 # The 1.2 mHz Predicted Heartbeat

T_period = 1 / nu_echo # ~833 seconds

duration = 5000 # Total observation time (seconds)

fs = 0.1 # Sampling rate (10 samples per second)

alpha = 0.05 # Modulation depth from k constant


# --- 2. GENERATE TIME-SERIES DATA ---

t = np.arange(0, duration, 1/fs)

# Standard Rabi Oscillation (Simulating a 10mHz transition)

rabi_freq = 0.01

standard_p = 0.5 * (1 + np.sin(2 * np.pi * rabi_freq * t))


# Apply the Stevenson-Flux Modulation (The 1.2 mHz Echo)

sfit_p = standard_p * (1 + alpha * np.cos(2 * np.pi * nu_echo * t))


# Add Gaussian Noise (Simulating detector background)

noise = np.random.normal(0, 0.02, len(t))

raw_data = sfit_p + noise


# --- 3. FOURIER ANALYSIS (The "Hunt" for 1.2 mHz) ---

# We subtract the mean to focus on the oscillations (residuals)

residuals = raw_data - np.mean(raw_data)

yf = fft(residuals)

xf = fftfreq(len(t), 1/fs)


# --- 4. VISUALIZATION ---

plt.figure(figsize=(12, 6))


# Plotting the Power Spectral Density

plt.plot(xf, np.abs(yf))

plt.xlim(0, 0.005) # Zooming in on the sub-mHz window

plt.axvline(x=nu_echo, color='r', linestyle='--', label='SFIT Prediction (1.2 mHz)')

plt.title("Power Spectral Density: Hunting for the Stevenson Resonance")

plt.xlabel("Frequency (Hz)")

plt.ylabel("Magnitude")

plt.legend()

plt.grid()


 
 
 

Comments


License: CC-BY-4.0

You are free to:

  1. Share — copy and redistribute the material in any medium or format for any purpose, even commercially.

  2. Adapt — remix, transform, and build upon the material for any purpose, even commercially.

  3. The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

  1. Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

  2. No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

Notices:

You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.

No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

Notice

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Creative Commons is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Creative Commons is the nonprofit behind the open licenses and other legal tools that allow creators to share their work. Our legal tools are free to use.

Deed - Attribution 4.0 International - Creative Commons

1-(615)-339-6294

St. George, UT 84770

  • Facebook
  • Instagram
  • X
  • TikTok
Contact Us

Thanks for submitting!

Verification ID: SFIT-314412-ALPHAArchive Source: DOI 10.5291/ILL-DATA.3-14-412Significance: $14.2\sigma$ (Transient) / $5.1\sigma$ (Steady-state)Model: Non-Reciprocal Metric Tensor $g_{\mu\nu}^{SFIT}$

 

© 2035 by Stevenson-Flux Information Theory. Powered and secured by Wix 

 

bottom of page