fitscore icon indicating copy to clipboard operation
fitscore copied to clipboard

A native Swift library to read and write FITS files

Results 10 fitscore issues
Sort by recently updated
recently updated
newest added

Hi, I'm using the library to validate an existing fits file, but I get an error message that I don't understand: "Data contains 9 bytes but supposed to be 24385536...

bug

Hi, First off thanks for this great module, it will really help me take a lot of server code out and put it into my app's client side functionality. I've...

documentation

File writer could be updated to use the async / await syntax introduced with Swift 5.5

enhancement
refactoring

Since with all the syntactic sugar and especially with the changes made with the new parser, the documentation needs an update. Especially on * Reading whole files * Reading /...

documentation

The validation routines are currently very limited and do not cover many cases. It should be a piece of cake to implement most if not all of the rule for...

enhancement

Implementation of the CHECKSUM keyword according to the standard Appendix J

enhancement
refactoring

"Random-groups structures" are currently not fully implemented but skipped over instead. To fully complete the implementation of the 4.0 Standard, PrimaryHDU should be extended by some high-level code to handle...

enhancement

The method should use bigEndian, perhaps also the property float! This returns a very high value for a linear FITS image: public func normalize(_ bzero: Float = 0, _ bscale:...

``` fitscore/Sources/FITS/HDU/HEADER/HDUValue.swift:109:24: Member operator '==' of protocol 'HDUValue' must have at least one argument of type 'Self' fitscore/Sources/FITS/HDU/HEADER/HDUValue.swift:118:24: Member operator '==' of protocol 'HDUValue' must have at least one argument...

public static func ==(lhs: HDUValue, rhs: T?) -> Bool { // --- line 0 ---- guard type(of: lhs) == T.self else { return false } if let right = rhs...