{"_id":"@behaver/fixed-star-coordinate","_rev":"3-a87100667e9303413e1546eb5905dfe2","name":"@behaver/fixed-star-coordinate","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@behaver/fixed-star-coordinate","version":"1.0.0","description":"This pkg is builded for calculating the coordinate of fixed star.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/fixed-star-coordinate.git"},"keywords":["fixed","star"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/fixed-star-coordinate/issues"},"homepage":"https://github.com/behaver/fixed-star-coordinate#readme","dependencies":{"@behaver/celestial-coordinate":"^1.6.0","@behaver/fixed-star-calculator":"^1.0.3","@behaver/jdate":"^2.3.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.0.2"},"gitHead":"53ccc4a944d0c2420c877be98028a0af7869db3e","_id":"@behaver/fixed-star-coordinate@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-Ya9KYUfjuqJ0rlPQkYFrYEDDaiI+ckw/l+OMjaLDQFWalKjfVyrHD8BSViwK/wjHtA/MbDXdNGNqw+UwVZX1XQ==","shasum":"6f792c034c5ff739442067884084ae9a72f246b1","tarball":"https://registry.npmjs.org/@behaver/fixed-star-coordinate/-/fixed-star-coordinate-1.0.0.tgz","fileCount":4,"unpackedSize":11424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclcjSCRA9TVsSAnZWagAAQnMP/R9ZCLa3cyW/5cMO1OGo\n2kGDpXWyZdcddv4ANmPehtw9iE69fdDLeJwb6/MKJ6Gc+/gVbCV+VVpbtkSy\nzRD7MEX02LXII4dFOb8LsQp5wh1cqqjaUH1UOdaF06ktvQW8h/r+QjzKX5WX\naM1XyBsBjGH3O378aTZE3ZoAOpPWaurXXlbW7BuEPDp35KVUlZi88/NelLg/\nyFr/+Mf/AcSzYmd3QW+iio6gDS8KYstmL4XlFOG79cP4SjEJaU3A76pIMXeW\nqDgsH7UVYrzeopOCx3o9MwTpYTanxgt4HF8ttr9SlSf2QMX3WpfX91sQbUtl\nPbHYPTfpUw4D3bo6FqvwUsLDd6TXfDha8Til5TghZxmaiJPVfnSmVgbz7zhh\nKBrkdFm4qnLjMdmS87tEbfrkxlHW7ygLyhM4VNs8jw1hQZKV2SsBxINsqDts\ncGScC09AxfuQyuHzf2hVKT9pcbdB6eiDRLqDJY/yDPZcv56m7+jSsjgVUW7v\npX5AUPC1tBz6oSjtouvaB8RCukZDroct92oO3607UnbuafUwgBZxDOhdvapK\nDvhhJOn+LEar91AglX2Riai3jlnGxNPNbhsf9zhErR8JMFgqP8rP7EyBWg4N\n1rGGACROPesDmg9eZzSp5FhxOSiH3PM2jwDaEwILqGe5XTuZ5sh8wkPa8oOq\nYWJN\r\n=qBDG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFUk/uHJ+ZvWxPaTXh5AZYP6C1brtSQS63pF92Ou7U8gIgX3JYZ33iDDtOIPjBsTV/n0k7ZB1Ms+hVZyZSjoYxkgw="}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fixed-star-coordinate_1.0.0_1553320146231_0.39960329938759154"},"_hasShrinkwrap":false,"deprecated":"abandon"},"1.0.1":{"name":"@behaver/fixed-star-coordinate","version":"1.0.1","description":"This pkg is builded for calculating the coordinate of fixed star.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/fixed-star-coordinate.git"},"keywords":["fixed","star"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/fixed-star-coordinate/issues"},"homepage":"https://github.com/behaver/fixed-star-coordinate#readme","dependencies":{"@behaver/celestial-coordinate":"^1.6.2","@behaver/fixed-star-calculator":"^1.0.4","@behaver/jdate":"^2.3.2"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.0.2"},"gitHead":"ad7e07049af9c9e355a6d45ddbb1ed35ad3997df","_id":"@behaver/fixed-star-coordinate@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-Tl3VfsXziCGfiUXxlQWTw4tkxuhlxQtP9Oi91qbJcYI3ANQZLwdxP8nfWUs360euOjCrdhJ4JNNPW7nFZRIorg==","shasum":"97d87cd82bc9cbeeef0de20c97d9d165769e02e6","tarball":"https://registry.npmjs.org/@behaver/fixed-star-coordinate/-/fixed-star-coordinate-1.0.1.tgz","fileCount":3,"unpackedSize":6385,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcl/28CRA9TVsSAnZWagAA2ZkP/14g88EOiN5E2NG07PCt\nc3HmnfRimlsZOYdg7aBDivIWkWLZXobjdup6OAl/BCmZ23j00gjw2RAAsWz/\n0Rsec8UG/KhNF4zewRS9zTb2RxH86I0eb0zcNSX2ogA4qJOh7IZaG/kSZSE6\nVLhVin44qetmihgZcgESYI/ULFM7yo8Nmv7yVLC2H0T9lrFhrexQ2HVlkwdF\n8SOscsdYlxpcSrNa/oB+QVau1i6y3bn1aEBxMDSvTItnYnSW17tuLx+iCRMN\nqpCm+lUaRZHTXqms/n3geerHFlF17OO9fvvkBTAakVC8ENYstx0PH3AmWCYy\n8LwhNsTfq3K9SCIPYwvtOWa90bsdWu1kSqeSuxLlLLXQEHVquPwmiVjhjJm3\nBUhp67uFubJ2DxQjNokrymyAeZwF5IfHbU4LL/ebooRo36DyBJxVSKm7P9qj\nnDzL5z5n59GXTu62KGc+2SiY7VGsXR5UoCdfPBEXK6dWAiHMiKndeFEgeH5u\n0m5f3/a+EycYBacg0xYjcPEXYdCTIrmpmhb+nA4M9OdPKjabfqtL7FKQFsrw\n4nNOo1SmeSX+DJ+n1jIZWasCJke/kUMgQF1eCfuC+IYs/9/P9UjH6ur4KHG2\nZOkNmE30YmcG/DqMiOkfT4GpxvcbXU9qKrtDRhWy3HMMJJbRPNg0ATMnQEFh\npG1q\r\n=Calq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAlV0hYY3wrSSVZjFI2btXbE6z+ZIkQmR5R0NOPrO8PmAiA+GjJXPpPfNwHkpxsSgxTmT6Row4HS6P04/knee4oBJw=="}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fixed-star-coordinate_1.0.1_1553464763493_0.24326145948198996"},"_hasShrinkwrap":false,"deprecated":"abandon"}},"time":{"created":"2019-03-23T05:49:06.029Z","1.0.0":"2019-03-23T05:49:06.446Z","modified":"2022-04-04T18:12:38.769Z","1.0.1":"2019-03-24T21:59:23.613Z"},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"description":"This pkg is builded for calculating the coordinate of fixed star.","homepage":"https://github.com/behaver/fixed-star-coordinate#readme","keywords":["fixed","star"],"repository":{"type":"git","url":"git+https://github.com/behaver/fixed-star-coordinate.git"},"author":{"name":"Sanwan, Dong"},"bugs":{"url":"https://github.com/behaver/fixed-star-coordinate/issues"},"license":"ISC","readme":"# FixedStarCoordinate\n[![GitHub license](https://img.shields.io/badge/license-ISC-brightgreen.svg)](#) [![npm version](https://img.shields.io/npm/v/react.svg?style=flat)](https://www.npmjs.com/package/@behaver/fixed-star-coordinate) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#)\n\n## 简介\n\nFixedStarCoordinate 是一个用于计算恒星赤道坐标的天文组件，计算的结果最终将以 `EquinoctialCoordinate` 实例返回。\n\n## 安装\n\n通过 npm 安装，在你的 node 项目目录下执行：\n\n`npm install @behaver/fixed-star-coordinate`\n\n安装完成后，调用即可：\n\n`const FixedStarCoordinate = require('@behaver/fixed-star-coordinate');`\n\n## 用例\n\n```js\nconst { JDateRepository } = require('@behaver/jdate');\nconst FixedStarCoordinate = require('@behaver/fixed-star-coordinate');\n\n// 实例化儒略时间对象\nlet jdate = new JDateRepository(2462088.69, 'jde');\n\n// 实例化恒星赤道坐标计算组件\nlet FSC = new FixedStarCoordinate(jdate);\n\n// 获取赤道坐标组件\nlet eqc = FSC.get({\n  RA: 41.0500,\n  Dec: 49.2283,\n  PMRA: 0.336,\n  PMDec: -0.089,\n  radVel: 25,\n  parallax: 0.089,\n});\n\n// 输出赤经，单位：°\nconsole.log(eqc.ra.getDegrees());\n\n// 输出赤纬，单位：°\nconsole.log(eqc.dec.getDegrees());\n\n// 输出赤地心距，单位：AU\nconsole.log(eqc.radius);\n```\n\n## API\n\n`constructor(epoch, model)`\n\n构造函数\n\n* epoch 目标历元\n* model 计算模型：'dyn': 动力学; 'tri': 三角学;\n\n`get(options)`\n\n获取恒星赤道坐标对象\n\n* options.RA       J2000 平赤经，单位：°\n* options.Dec      J2000 平赤纬，单位：°\n* options.parallax 周年视差，单位：角秒\n* options.PMRA     赤经自行，单位：角秒每儒略年\n* options.PMDec    赤纬自行，单位：角秒每儒略年\n* options.radVel   日心视向速度，单位：km/s\n\n`set epoch(value)`\n\n设置目标历元对象\n\n`get epoch()`\n\n获取目标历元对象\n\n`set model(value)`\n\n设置计算模型\n\n`get model()`\n\n获取计算模型缩写字串\n\n## 许可证书\n\nThe ISC license.","readmeFilename":"readme.md"}