Skip to content

Instantly share code, notes, and snippets.

@matshofman
matshofman / gist:4150213
Created Nov 26, 2012
Star data to JSON
View gist:4150213
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace RADECtoALTAZ
@matshofman
matshofman / gist:4145718
Created Nov 25, 2012
RA Dec to Alt Az converter
View gist:4145718
using System;
namespace RaDecToAltAz
{
/// <summary>
/// Explenation of the calculations at http://www.stargazing.net/kepler/altaz.html
/// </summary>
class RaDecToAltAz
{
double RA = 250.425; // 16 h 41.7 m * 15