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 — 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 "> 'astroquery:astrometry_net'</ span > < span class ="p "> ,</ span > < span class ="kc "> None</ span > < span class ="p "> ,</ span > < span class ="s1 "> 'apikeyhere'</ 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 > © 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 >
0 commit comments