Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change to new name: The 1090MHz Riddle
- Loading branch information
Showing
25 changed files
with
740 additions
and
956 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
.DS_Store | ||
_build | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
============================================================ | ||
The 1090MHz Riddle | ||
============================================================ | ||
------------------------------------------------------------ | ||
The book about decoding Mode-S and ADS-B data | ||
------------------------------------------------------------ | ||
|
||
Access the online book at: `mode-s.org <https://mode-s.org>`_ | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Begun with a frustration on the lack of technical public information on ADS-B and Mode-S in the year of 2015, I created an live online document to recorded my understanding of ADS-B data. Previously, this was known as `"ADS-B Decoding Guide" <http://adsb-decode-guide.readthedocs.org/>`_ project. Together with the tutorial, we also developed its related python library, the `pyModeS <https://github.com/junzis/pyModeS>`_. With time, I received many feedbacks, compliments, and contributions from open-source community users. | ||
|
||
From beginning of 2017, the interests of tapping into Enhanced Mode-S (EHS) data brought us a whole new chapter of Mode-S inference and decoding into the pyModeS. This also enriches the "ADS-B" guide. With the advance in this area, I am planning to compile a more comprehensive online book to cover both ADS-B and Mode-S decoding and related topic. | ||
|
||
That's the starting of this new repository. I am also starting host the online book on my own server to allow more flexibility of editing and publishing. You can read the most up-to-date book on `mode-s.org <https://mode-s.org>`_. | ||
|
||
Oh, it is still GNU GPL. It was great to see the pull request from different contributors previously. I am looking forward to seeing more comments and pulls from the community. Enjoy! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
""" | ||
Sphinx extension to add ReadTheDocs-style "Edit on GitHub" links to the | ||
sidebar. | ||
Loosely based on https://github.com/astropy/astropy/pull/347 | ||
""" | ||
|
||
import os | ||
import warnings | ||
|
||
|
||
__licence__ = 'BSD (3 clause)' | ||
|
||
|
||
def get_github_url(app, view, path): | ||
return ( | ||
'https://github.com/{project}/{view}/{branch}/{src_path}{path}'.format( | ||
project=app.config.edit_on_github_project, | ||
view=view, | ||
branch=app.config.edit_on_github_branch, | ||
src_path=app.config.edit_on_github_src_path, | ||
path=path)) | ||
|
||
|
||
def html_page_context(app, pagename, templatename, context, doctree): | ||
if templatename != 'page.html': | ||
return | ||
|
||
if not app.config.edit_on_github_project: | ||
warnings.warn("edit_on_github_project not specified") | ||
return | ||
if not doctree: | ||
warnings.warn("doctree is None") | ||
return | ||
path = os.path.relpath(doctree.get('source'), app.builder.srcdir) | ||
show_url = get_github_url(app, 'blob', path) | ||
edit_url = get_github_url(app, 'edit', path) | ||
|
||
context['show_on_github_url'] = show_url | ||
context['edit_on_github_url'] = edit_url | ||
|
||
|
||
def setup(app): | ||
app.add_config_value('edit_on_github_project', '', True) | ||
app.add_config_value('edit_on_github_branch', 'master', True) | ||
app.add_config_value('edit_on_github_src_path', '', True) # 'eg' "docs/" | ||
app.connect('html-page-context', html_page_context) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
pre { | ||
padding: 10px 15px; | ||
} | ||
|
||
div.sphinxsidebar ul li.toctree-l1 > a { | ||
font-size: 14px; | ||
} | ||
|
||
div.sphinxsidebar ul li.toctree-l2 > a { | ||
font-size: 13px; | ||
} | ||
|
||
div.sphinxsidebar ul li.toctree-l3 > a { | ||
font-size: 12px; | ||
} | ||
|
||
div.section { | ||
margin-bottom: 30px | ||
} | ||
|
||
div.section h2 { | ||
border-bottom: 1px solid; | ||
} | ||
|
||
div.sphinxsidebar { | ||
border-right: 1px dashed #cccccc; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{%- if show_source and has_source and sourcename %} | ||
<br/> | ||
<h3>{{ _('Page Source') }}</h3> | ||
<ul class="this-page-menu"> | ||
<!-- <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" | ||
rel="nofollow">{{ _('Show Source') }}</a></li> --> | ||
{%- if show_on_github_url %} | ||
<li><a href="{{ show_on_github_url }}" | ||
rel="nofollow">{{ _('Show on GitHub') }}</a></li> | ||
{%- endif %} | ||
{%- if edit_on_github_url %} | ||
<li><a href="{{ edit_on_github_url }}" | ||
rel="nofollow">{{ _('Edit on GitHub') }}</a></li> | ||
{%- endif %} | ||
</ul> | ||
{%- endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h3><a href="{{ pathto(master_doc) }}">The 1090MHz Riddle</a></h3> | ||
|
||
An Open access book on Mode-S/ADS-B decoding and related topics | ||
|
||
<br/><br/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.