cafuego/phits 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cafuego/phits

Composer 安装命令:

composer require cafuego/phits

包简介

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

README 文档

README

Build Status

WELCOME

phits - a FITS reader for PHP

FITS is the standard astronomical data format endorsed by both NASA and the IAU.

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.

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.

USAGE

<?php
  use Phits\Fits\FitsParser;

  $fits = new FitsParser('/tmp/foobar.fits');

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

  // Do stuff.
?>

<?php
  use Phits\Fits\FitsThumbnail;

  $thumb = new FitsThumbnail('/tmp/foobar.fits');

  // Delete the generated thumbnail when PHP exits.
  $thumb->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:

Phits inherits the MIT license from these other projects.

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

FITS?

See http://heasarc.nasa.gov/docs/heasarc/fits.html for more information.

统计信息

  • 总下载量: 39
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-06-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固