GithubHelp home page GithubHelp logo

ronondex / fitslibrary Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 0.0 4.64 MB

A native C# dotnet core implenetation to read and write astronomical .FITS files following newest specifications

License: Mozilla Public License 2.0

C# 100.00%
astronomy astrophotography dotnet-core fits fits-files

fitslibrary's People

Contributors

ronondex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

electro-logic

fitslibrary's Issues

Improvement suggestions

Hello

Here some suggestions:

  • HeaderEntry ToString() override to make debugging easier
  • PrimaryHdu.Header.Entries.AddRange()
  • Sync version of Async methods (ex. Write and WriteAsync)
  • Shortcut method to directly write an array (in doc.PrimaryHdu.Data)
  • PrimaryHdu is not available in the non-generic FitsDocument class
  • The default HeaderEntry are missing comments (ex. SIMPLE, NAXIS, etc..)

And if you would like to cite in the Readme file, AstroCapture (Xamarin Android app) is using this library

Display fits image?

Can this be used to view (display) fits image? I mean to load and view the image itself!

'System.Runtime' error

I'm trying to use this library with Windows Forms App using VS2019, I added FitsLibrary as a reference via nuget package manager.
I used your example code just to see what can I do:
var reader = new FitsDocumentReader();
var fitsFile = await reader.ReadAsync("SampleFiles/FOCx38i0101t_c0f.fits");
but I got this error:

Error CS7069 Reference to type 'Task<>' claims it is defined in 'System.Runtime', but it could not be found
Not sure what is I'm doing wrong!
Screenshot_1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.