2017 © Pedro Peláez
 

library phits

A class library that allows you to access FITS file headers in PHP.

image

cafuego/phits

A class library that allows you to access FITS file headers in PHP.

  • Friday, June 20, 2014
  • by cafuego
  • Repository
  • 0 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Build Status, (*1)

WELCOME

phits - a FITS reader for PHP

FITS is the standard astronomical data format endorsed by both NASA and the IAU., (*2)

This class can read and parse header data from FITS files. I am not currently planning to add the ability to read and process the attached data as well., (*3)

The FitsThumbnail class uses the Imagick PECL library to convert FITS image data into a thumbnail of a specified size and format. It will fail horribly if you do not have Imagick installed., (*4)

USAGE

getHeaders();
  $naxis   = $fits->getNaxis(0);

  // Do stuff.
?>

persist(FALSE);

  // Create a 200x200 thumbnail.
  $thumb->createThumbnail(200, 200);

  // Get the generated thumbail file.
  $thumbnail = $thumb->getThumbnail();

  // Do stuff.
?>

ACKNOWLEDGEMENTS

This project is based on pre-existing open source FITS libraries and I have used both of them to help me write this parser:, (*5)

  • https://github.com/astrojs/fitsjs
  • https://github.com/siravan/fits

Phits inherits the MIT license from these other projects., (*6)

As opposed to the Go parser, Phits also handles CONTINUE headers for longer string comments., (*7)

FITS?

See http://heasarc.nasa.gov/docs/heasarc/fits.html for more information., (*8)

The Versions

20/06 2014

dev-master

9999999-dev https://github.com/cafuego/phits

A class library that allows you to access FITS file headers in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Peter Lieverdink

astronomy fits

08/06 2014

0.0.4

0.0.4.0 https://github.com/cafuego/phits

A class library that allows you to access FITS file headers in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Peter Lieverdink

astronomy fits

05/06 2014

0.0.3

0.0.3.0 https://github.com/cafuego/phits

A class library that allows you to access FITS file headers in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Peter Lieverdink

astronomy fits

04/06 2014

0.0.1

0.0.1.0 https://github.com/cafuego/phits

A class library that allows you to access FITS file headers in PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Peter Lieverdink

astronomy fits