8000 GitHub - macmade/SwiftFITS: FITS Image Library for Swift
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

macmade/SwiftFITS

Repository files navigation

SwiftFITS

Build Status Issues Status License
Contact Sponsor

About

FITS Image Library for Swift.

This library provides a simple interface to read and write FITS files in Swift, based on the FITS 4.0 standard.

Cloning

This project uses submodules.
To clone it, use the following command:

git clone --recursive https://github.com/macmade/SwiftFITS.git

Example Usage

import Foundation
import SwiftFITS

do
{
    let file = try FITSFile( url: URL( fileURLWithPath: "/path/to/file.fits" ) )
    
    if let header = file.header
    {
        print( header.properties )
    }
}
catch // SwiftFITS.FITSError
{
    print( error )
}

License

Project is released under the terms of the MIT License.

Repository Infos

Owner:          Jean-David Gadina - XS-Labs
Web:            www.xs-labs.com
Blog:           www.noxeos.com
Twitter:        @macmade
GitHub:         github.com/macmade
LinkedIn:       ch.linkedin.com/in/macmade/
StackOverflow:  stackoverflow.com/users/182676/macmade

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

0