Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored May 29, 2024
0 parents commit 3c8e271
Show file tree
Hide file tree
Showing 440 changed files with 135,555 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 8f47c2dd907cf4c74c3d74ef79d69874
tags: 645f666f9bcd5a90fca523b33c5a78b7
Empty file added .nojekyll
Empty file.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs.stingray.science
20 changes: 20 additions & 0 deletions _downloads/1027494781794f48a5d8afc7ff6c2fc5/simulator-2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from matplotlib import rcParams
rcParams['font.family'] = 'sans-serif'
rcParams['font.sans-serif'] = ['Tahoma']

import matplotlib.pyplot as plt
from stingray.simulator import simulator

# Instantiate simulator object
sim = simulator.Simulator(N=1024, mean=0.5, dt=0.125, rms=1.0)
# Define a spectrum
w = np.fft.rfftfreq(sim.N, d=sim.dt)[1:]
spectrum = np.power((1/w),2/2)
# Simulate
lc = sim.simulate(spectrum)

plt.plot(lc.counts, 'g')
plt.title('User-defined Model Simulation', fontsize='16')
plt.xlabel('Counts', fontsize='14')
plt.ylabel('Flux', fontsize='14')
plt.show()
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions _downloads/53d6a719342bb95c167fbdcb1fc14cc1/simulator-3.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from matplotlib import rcParams
rcParams['font.family'] = 'sans-serif'
rcParams['font.sans-serif'] = ['Tahoma']

import matplotlib.pyplot as plt
from stingray import sampledata
from stingray.simulator import simulator

# Obtain a sample light curve
lc = sampledata.sample_data().counts
# Instantiate simulator object
sim = simulator.Simulator(N=1024, mean=0.5, dt=0.125, rms=1.0)
# Obtain an artificial impulse response
ir = sim.relativistic_ir()
# Simulate
lc_new = sim.simulate(lc, ir)

plt.plot(lc_new.counts, 'g')
plt.title('Impulse Response based Simulation', fontsize='16')
plt.xlabel('Counts', fontsize='14')
plt.ylabel('Flux', fontsize='14')
plt.show()
17 changes: 17 additions & 0 deletions _downloads/57e221082e8b56500cefe6d46e4708c5/simulator-1.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from matplotlib import rcParams
rcParams['font.family'] = 'sans-serif'
rcParams['font.sans-serif'] = ['Tahoma']

import matplotlib.pyplot as plt
from stingray.simulator import simulator

# Instantiate simulator object
sim = simulator.Simulator(N=1024, mean=0.5, dt=0.125, rms=1.0)
# Specify beta value
lc = sim.simulate(2)

plt.plot(lc.counts, 'g')
plt.title('Random-walk Distribution Simulation', fontsize='16')
plt.xlabel('Counts', fontsize='14', )
plt.ylabel('Flux', fontsize='14')
plt.show()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added _images/notebooks_Bexvar_Bexvar_tutorial_12_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/notebooks_Simulator_Lag_Analysis_13_1.png
Binary file added _images/notebooks_Simulator_Lag_Analysis_25_0.png
Binary file added _images/notebooks_Simulator_Lag_Analysis_38_0.png
Binary file added _images/simulator-1.png
Binary file added _images/simulator-2.png
Binary file added _images/simulator-3.png
Binary file added _images/stingray_logo.png
116 changes: 116 additions & 0 deletions _modules/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<!DOCTYPE html>

<html lang="en" data-content_root="../">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; stingray v2.1</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=fa44fd50" />
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-astropy.css?v=9d21690f" />
<link rel="stylesheet" type="text/css" href="../_static/graphviz.css?v=fd3f3429" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css" />
<link rel="stylesheet" type="text/css" href="../_static/css/custom.css?v=2afd17ea" />

<script src="../_static/jquery.js?v=5d32c60e"></script>
<script src="../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="../_static/documentation_options.js?v=c4a36953"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
<script type="text/javascript" src="../_static/sidebar.js"></script>
<script type="text/javascript" src="../_static/copybutton.js"></script>
<link rel="icon" href="../_static/stingray_logo.ico"/>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600' rel='stylesheet' type='text/css'/>

</head><body>
<div class="topbar">
<a class="brand" title="Documentation Home" href="../index.html"><span id="logotext1">Sting</span><span id="logotext2">ray</span><span id="logotext3">:docs</span></a>
<ul>

<li><a class="homelink" title="Astropy Homepage" href="http://www.astropy.org"></a></li>
<li><a title="General Index" href="../genindex.html">Index</a></li>
<li><a title="Module Index" href="../py-modindex.html">Modules</a></li>
<li>


<form action="../search.html" method="get">
<input type="text" name="q" placeholder="Search" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>

</li>
</ul>
</div>

<div class="related">
<h3>Navigation</h3>
<ul>
<li>
<a href="../index.html">stingray v2.1</a>
&#187;
</li>


</ul>
</div>


<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">

<h1>All modules for which code is available</h1>
<ul><li><a href="stingray/base.html">stingray.base</a></li>
<li><a href="stingray/bispectrum.html">stingray.bispectrum</a></li>
<li><a href="stingray/covariancespectrum.html">stingray.covariancespectrum</a></li>
<li><a href="stingray/crosscorrelation.html">stingray.crosscorrelation</a></li>
<li><a href="stingray/crossspectrum.html">stingray.crossspectrum</a></li>
<li><a href="stingray/deadtime/fad.html">stingray.deadtime.fad</a></li>
<li><a href="stingray/deadtime/model.html">stingray.deadtime.model</a></li>
<li><a href="stingray/events.html">stingray.events</a></li>
<li><a href="stingray/exceptions.html">stingray.exceptions</a></li>
<li><a href="stingray/gti.html">stingray.gti</a></li>
<li><a href="stingray/io.html">stingray.io</a></li>
<li><a href="stingray/lightcurve.html">stingray.lightcurve</a></li>
<li><a href="stingray/mission_support/missions.html">stingray.mission_support.missions</a></li>
<li><a href="stingray/mission_support/rxte.html">stingray.mission_support.rxte</a></li>
<li><a href="stingray/modeling/parameterestimation.html">stingray.modeling.parameterestimation</a></li>
<li><a href="stingray/modeling/posterior.html">stingray.modeling.posterior</a></li>
<li><a href="stingray/modeling/scripts.html">stingray.modeling.scripts</a></li>
<li><a href="stingray/powerspectrum.html">stingray.powerspectrum</a></li>
<li><a href="stingray/pulse/modeling.html">stingray.pulse.modeling</a></li>
<li><a href="stingray/pulse/pulsar.html">stingray.pulse.pulsar</a></li>
<li><a href="stingray/pulse/search.html">stingray.pulse.search</a></li>
<li><a href="stingray/simulator/simulator.html">stingray.simulator.simulator</a></li>
<li><a href="stingray/stats.html">stingray.stats</a></li>
<li><a href="stingray/utils.html">stingray.utils</a></li>
<li><a href="stingray/varenergyspectrum.html">stingray.varenergyspectrum</a></li>
</ul>

<div class="clearer"></div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper"><h3>Page Contents</h3>


</div>
</div>
<div class="clearer"></div>
</div>
<footer class="footer">
<p class="pull-right"> &nbsp;
<a href="#">Back to Top</a></p>
<p>
&copy; Copyright 2024, Stingray Developers.<br/>
Created using <a href="http://www.sphinx-doc.org/en/stable/">Sphinx</a> 7.3.7. &nbsp;
Last built 29 May 2024. <br/>
</p>
</footer>
</body>
</html>
Loading

0 comments on commit 3c8e271

Please sign in to comment.