Skip to content

Commit 5d6a5ef

Browse files
authored
Add files via upload
1 parent d08c037 commit 5d6a5ef

52 files changed

Lines changed: 18817 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/html/Init.html

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<!DOCTYPE html>
2+
<html class="writer-html5" lang="en" >
3+
<head>
4+
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
5+
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Before use &mdash; SonyAutoAstro 1.0 documentation</title>
8+
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
9+
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
10+
<!--[if lt IE 9]>
11+
<script src="_static/js/html5shiv.min.js"></script>
12+
<![endif]-->
13+
14+
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
15+
<script src="_static/doctools.js"></script>
16+
<script src="_static/sphinx_highlight.js"></script>
17+
<script src="_static/js/theme.js"></script>
18+
<link rel="index" title="Index" href="genindex.html" />
19+
<link rel="search" title="Search" href="search.html" />
20+
<link rel="next" title="Application" href="use.html" />
21+
<link rel="prev" title="Requirement" href="requirement.html" />
22+
</head>
23+
24+
<body class="wy-body-for-nav">
25+
<div class="wy-grid-for-nav">
26+
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
27+
<div class="wy-side-scroll">
28+
<div class="wy-side-nav-search" >
29+
<a href="index.html" class="icon icon-home"> SonyAutoAstro
30+
</a>
31+
<div role="search">
32+
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
33+
<input type="text" name="q" placeholder="Search docs" />
34+
<input type="hidden" name="check_keywords" value="yes" />
35+
<input type="hidden" name="area" value="default" />
36+
</form>
37+
</div>
38+
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
39+
<p class="caption" role="heading"><span class="caption-text">Contents:</span></p>
40+
<ul class="current">
41+
<li class="toctree-l1"><a class="reference internal" href="index.html">Home</a></li>
42+
<li class="toctree-l1"><a class="reference internal" href="requirement.html">Requirement</a></li>
43+
<li class="toctree-l1 current"><a class="current reference internal" href="#">Before use</a><ul>
44+
<li class="toctree-l2"><a class="reference internal" href="#gphoto">Gphoto</a></li>
45+
<li class="toctree-l2"><a class="reference internal" href="#astrometry-api-key">Astrometry API key</a></li>
46+
</ul>
47+
</li>
48+
<li class="toctree-l1"><a class="reference internal" href="use.html">Application</a></li>
49+
<li class="toctree-l1"><a class="reference internal" href="future.html">Future improvement</a></li>
50+
</ul>
51+
52+
</div>
53+
</div>
54+
</nav>
55+
56+
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
57+
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
58+
<a href="index.html">SonyAutoAstro</a>
59+
</nav>
60+
61+
<div class="wy-nav-content">
62+
<div class="rst-content">
63+
<div role="navigation" aria-label="Page navigation">
64+
<ul class="wy-breadcrumbs">
65+
<li><a href="index.html" class="icon icon-home"></a></li>
66+
<li class="breadcrumb-item active">Before use</li>
67+
<li class="wy-breadcrumbs-aside">
68+
<a href="_sources/Init.rst.txt" rel="nofollow"> View page source</a>
69+
</li>
70+
</ul>
71+
<hr/>
72+
</div>
73+
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
74+
<div itemprop="articleBody">
75+
76+
<section id="before-use">
77+
<h1>Before use<a class="headerlink" href="#before-use" title="Permalink to this heading"></a></h1>
78+
<p>Because Sony Auto Astro is a wraper software, you need to install some other tools.</p>
79+
<section id="gphoto">
80+
<h2>Gphoto<a class="headerlink" href="#gphoto" title="Permalink to this heading"></a></h2>
81+
<p>Gphoto is a powerfull linux softawre designed for control camera. This software is esential for SonyAutoAstro.</p>
82+
<p>Install with :</p>
83+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">update</span>
84+
<span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">libusb</span><span class="o">-</span><span class="mf">1.0</span><span class="o">-</span><span class="mi">0</span><span class="o">-</span><span class="n">dev</span> <span class="n">libtool</span> <span class="n">libgphoto2</span><span class="o">-</span><span class="mi">6</span> <span class="n">gphoto2</span>
85+
</pre></div>
86+
</div>
87+
<p>Now, on your camera, turn on the pc mode on usb mode.</p>
88+
<p>You can check if the gphoto works with :</p>
89+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">gphoto2</span> <span class="o">--</span><span class="nb">list</span><span class="o">-</span><span class="n">ports</span>
90+
<span class="n">gphoto2</span> <span class="o">--</span><span class="n">auto</span><span class="o">-</span><span class="n">detect</span>
91+
<span class="n">gphoto2</span> <span class="o">--</span><span class="n">summary</span>
92+
</pre></div>
93+
</div>
94+
</section>
95+
<section id="astrometry-api-key">
96+
<h2>Astrometry API key<a class="headerlink" href="#astrometry-api-key" title="Permalink to this heading"></a></h2>
97+
<p>You need to change the api key for astrometry in AutoAstro.py. This software is esential for SonyAutoAstro.</p>
98+
<p>On a pyhton consol, run the folowing comand :</p>
99+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">keyring</span>
100+
<span class="n">keyring</span><span class="o">.</span><span class="n">set_password</span><span class="p">(</span><span class="s1">&#39;astroquery:astrometry_net&#39;</span><span class="p">,</span> <span class="kc">None</span><span class="p">,</span> <span class="s1">&#39;apikeyhere&#39;</span><span class="p">)</span>
101+
</pre></div>
102+
</div>
103+
<p>Change None to another name to assign usernames and use this usernames on AutoAstro.py line 16.</p>
104+
<p>See here for more details : <a class="reference external" href="https://astroquery.readthedocs.io/en/latest/astrometry_net/astrometry_net.html#using-keyring-to-store-api-key">https://astroquery.readthedocs.io/en/latest/astrometry_net/astrometry_net.html#using-keyring-to-store-api-key</a></p>
105+
</section>
106+
</section>
107+
108+
109+
</div>
110+
</div>
111+
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
112+
<a href="requirement.html" class="btn btn-neutral float-left" title="Requirement" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
113+
<a href="use.html" class="btn btn-neutral float-right" title="Application" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
114+
</div>
115+
116+
<hr/>
117+
118+
<div role="contentinfo">
119+
<p>&#169; Copyright 2023, Frank Soldano.</p>
120+
</div>
121+
122+
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
123+
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
124+
provided by <a href="https://readthedocs.org">Read the Docs</a>.
125+
126+
127+
</footer>
128+
</div>
129+
</div>
130+
</section>
131+
</div>
132+
<script>
133+
jQuery(function () {
134+
SphinxRtdTheme.Navigation.enable(true);
135+
});
136+
</script>
137+
138+
</body>
139+
</html>

docs/html/_sources/Init.rst.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Before use
2+
==========
3+
4+
Because Sony Auto Astro is a wraper software, you need to install some other tools.
5+
6+
Gphoto
7+
******
8+
Gphoto is a powerfull linux softawre designed for control camera. This software is esential for SonyAutoAstro.
9+
10+
Install with :
11+
12+
.. code-block::
13+
14+
sudo apt-get update
15+
sudo apt-get install libusb-1.0-0-dev libtool libgphoto2-6 gphoto2
16+
17+
Now, on your camera, turn on the pc mode on usb mode.
18+
19+
You can check if the gphoto works with :
20+
21+
.. code-block::
22+
23+
gphoto2 --list-ports
24+
gphoto2 --auto-detect
25+
gphoto2 --summary
26+
27+
Astrometry API key
28+
******************
29+
30+
You need to change the api key for astrometry in AutoAstro.py. This software is esential for SonyAutoAstro.
31+
32+
On a pyhton consol, run the folowing comand :
33+
34+
.. code-block::
35+
36+
import keyring
37+
keyring.set_password('astroquery:astrometry_net', None, 'apikeyhere')
38+
39+
Change None to another name to assign usernames and use this usernames on AutoAstro.py line 16.
40+
41+
See here for more details : https://astroquery.readthedocs.io/en/latest/astrometry_net/astrometry_net.html#using-keyring-to-store-api-key

docs/html/_sources/future.rst.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Future improvement
2+
==================
3+
4+
- Adding graphic interface
5+
- Control Celestron Nexstar telescope (realignment every x images)
6+
- Check collimation
7+
- Check focus

docs/html/_sources/index.rst.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. SonyAutoAstro documentation master file, created by
2+
sphinx-quickstart on Tue Jan 3 11:30:19 2023.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
Welcome to SonyAutoAstro's documentation!
7+
=========================================
8+
9+
Sony Auto astro is a powrful software for controle and use Sony camera in astronomy.
10+
It is developed for linux with python 3.
11+
12+
.. toctree::
13+
Home <self>
14+
requirement
15+
Init
16+
use
17+
future
18+
:maxdepth: 2
19+
:caption: Contents:
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Requirement
2+
===========
3+
4+
5+
- gphoto
6+
- astrometry.net api key
7+
- python 3
8+
- rawpy ; keyring ; astroquery ; astropy ; numpy ; maplotlib

docs/html/_sources/use.rst.txt

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
Application
2+
===========
3+
4+
* AutoAstro.py : Main software. make series of picture and saves in the curent directory.
5+
6+
* TrandfertTime.py : caracterise the time until gphoto save image in your folder.
7+
8+
* fits_write.py read and save r, g, b layer of a specific image.
9+
10+
11+
AutoAstro
12+
*********
13+
The software guide you for inisialise link whith camera. After that, propose
14+
to make some test for checking exposition parameter (adjustment to be made on the camera)
15+
and telescope position (with astrometry). Until it is done, software realise a series of pictures.
16+
17+
Check before run
18+
----------------
19+
Before run the software, check the Before use part.
20+
21+
Check also you are in the right folder for write your picture and you have free space on your disk.
22+
23+
Your camera need to be in raw captur and in the usb mode pc control.
24+
25+
Init
26+
----
27+
28+
At the beginging, the software tel you to set the usb port used for gphoto. The information is avail on the
29+
sumary on the controle.
30+
31+
Test part
32+
---------
33+
34+
The first part of the software is the test part.
35+
The software captur a picture and downlad it and tel you if you want to make an astrometry or re-do a captur.
36+
The file are save under the name test{}.arw
37+
38+
If you want to change the exposure of your image, you must make the settings directly on the camera.
39+
40+
If you maeke an astrometry, the result is available on https://nova.astrometry.net/dashboard/submissions .
41+
The softawre also display the ra,dec coordof your image and the ngc object in your fov (fond by a simbad query).
42+
43+
When all is good, you can go to the main loop.
44+
45+
Loop part
46+
---------
47+
48+
In this part, you need to define the nomber of picture and their name.
49+
50+
TransfertTime
51+
*************
52+
53+
Thsi litle script captur 15 picture and estimate the time your computer nee to make the captur transfert.
54+
For good aproximation, take your camera on the fastest speed available.
55+
All test image are delated at the end.
56+
57+
FitsWrite
58+
***********
59+
60+
This programme read a picture and save each rgb layer on a single fits file.

0 commit comments

Comments
 (0)