skychart

版本 18.810 (7.5 MB) 作者: Emmanuel Farhi
A skychart for Matlab: display the sky view
389.0 次下载
更新时间 2020/7/22

编者注: This file was selected as MATLAB Central Pick of the Week

SKYCHART: a class to plot a sky chart with stars/objects
This class computes and plots the sky seen at given location and time. About
43000 stars and 13000 deep sky objects are considered, as well as the Sun, the
Moon and 7 planets. The actual number of rendered objects depends on the zoom
level in the sky chart.

You may zoom the plot using the Zoom tool (in the Toolbar). You may as well
use the drag tool to move the visible area. Right-click shows a contextual
menu with the under-lying object properties (coordinates, type, ...).

To use this code, type

>> sc = skychart

displays the view at the current UTC and location.

Methods:
skychart: create the view
date: set/get the date (UTC)
getplace: get the current GPS location from the network
plot: plot/replot the view.
connect: connect to a scope controler
goto: send connected scope to selected location
findobj: search for a named object and select it

You may force a re-computation and replot of the sky view with:

>> compute(sc, 'force')
>> plot(sc, 1)

Connecting to a Scope

You may connect to a telescope mount using e.g.

>> connect(sc, scope)

where 'scope' should be an object with methods:

getstatus: read the mount status, and update the scope properties:
scope.ra.h, scope.ra.min, scope.dec.deg, scope.dec.min
gotoradec(RA,DEC): send the mount to location (RA,DEC)

when scope is omitted, a connection with a Vixen StarBook is attempted. This
controler can be set in 'simulate' mode.

Credits:
E. Ofek MAAT GPL3 2004
http://weizmann.ac.il/home/eofek/matlab/
F. Glineur parse_json BSD 2009
https://fr.mathworks.com/matlabcentral/fileexchange/23393--another--json-parser
P. Tenenbaum Local Time to UTC, BSD 2008
https://fr.mathworks.com/matlabcentral/fileexchange/22295-local-time-to-utc
Stars (~46000) data base from http://astrosci.scimuze.com/stellar_data.htm
Deep sky objects (~13000) from http://klima-luft.de/steinicke/ngcic/ngcic_e.htm
StarBook (Vixen) https://fr.mathworks.com/matlabcentral/fileexchange/65944-vixen-starbook-control

引用格式

Emmanuel Farhi (2024). skychart (https://github.com/farhi/matlab-skychart), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Just for fun 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
18.810

update to grid feature, and mouse wheel zoom.

1.2.0.0

added mount control (Vixen StarBook) and observation planning/list

1.1.0.0

now has contextual menu to display right-click menu, and display names

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库