{"_id":"@behaver/fixed-star-position","_rev":"2-f6270069df2a727999e4cc95a8dda18d","name":"@behaver/fixed-star-position","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@behaver/fixed-star-position","version":"1.0.1","description":"This pkg is builded for calculating the position of fixed star.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/fixed-star-position.git"},"keywords":["fixed","star"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/fixed-star-position/issues"},"homepage":"https://github.com/behaver/fixed-star-position#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":"83bdc399713f5dfa8b23188134f9bd5b2f2af557","_id":"@behaver/fixed-star-position@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-a08k2qQm0yLwjLhLYQVOFQZ27suTccCsA5MOmDC9DkbCB/lVgiEHo7qZDhz9yTfvHDdUsaAPoL2vl6FmxMKb0Q==","shasum":"cfacf463c0a3b13417c4aafe5f5b4789304efe53","tarball":"https://registry.npmjs.org/@behaver/fixed-star-position/-/fixed-star-position-1.0.1.tgz","fileCount":3,"unpackedSize":6349,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxyEKCRA9TVsSAnZWagAAEg0P/jWUXI/ipIUj8XSBdCEu\nCB1b+B1Zc6CGGChI4lINgzWCEVFa+atNcTnrytdezYwmVBsRKG62yWhD4Qi6\nY15D9VblbQu67tjpe69AdybUB63TncISckmvKf6CtcyKYHkHnJnLF7Y7+SG3\nzfo1/JR9adAxmd8aOLRhA4Km8DC5pNR9jXSYEK0p2+qAU8xfIKF8EUt0muwy\nNM0woZGgLRNIswbYh+dauE1Y/6/2HjKTmkJXwo0TcRWh4yJ14avU/TzACh5e\nq99FMQFxjlshdXz2KChZ+Yx4+v/amFWvCA/5EDE5DkXrw60AoMgcCgGptJva\nEwVgWq6mn8RtxJ64g8pSnJFJkwtFl83JM2WRd8JjT2OKAAnJcOJLdGaOORxH\ndFv/vhTiDnveD3yvaEQ+s01bruCRxqz8IQYVEhYgBlasDvdHW1n2MMXxvm5m\n4VAdjS4OJn7Qk7E9vYsXkurRnmesp6VjEhcGCGDo05qMHt+FJnsnYr21JIoU\nK66qrNjv1SdF2ECecaF9Em1NgtJZNB7UWSTCV64zDUqRpKZlahcTo/ND/gVJ\nYj5SBW3WqyRUFIxlRl8fNI7D8VE4v/zAmKF8RMEPlPs2STfPzAoDBUv/+1Rk\nyZWUbLOp+ZtOSrsyTCibjojGIBvqai5fHpPY2TyqBo1jLBQNtD2ZYI652GU1\nJpNm\r\n=g8E4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIsFCm1lnUkYArArLK7n9M0A5Y05zWnUmq8uoqltdP8AIhAODfr9cqzuv9ikIug4x2sku1a52YECSCfZXnWrFslVY+"}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fixed-star-position_1.0.1_1556553993475_0.9631599408370328"},"_hasShrinkwrap":false},"1.0.2":{"name":"@behaver/fixed-star-position","version":"1.0.2","description":"This pkg is builded for calculating the position of fixed star.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/fixed-star-position.git"},"keywords":["fixed","star"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/fixed-star-position/issues"},"homepage":"https://github.com/behaver/fixed-star-position#readme","dependencies":{"@behaver/celestial-coordinate":"^1.8.3","@behaver/fixed-star-calculator":"^1.0.7","@behaver/jdate":"^2.3.2"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"6cb988b4ef503d0e05125ed717057bdff2095641","_id":"@behaver/fixed-star-position@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-8SdwRd6obdt9hWQbyLqc3eLCqLYnDc+eLc3c7qq9av3vjlnXw2iX2mqsgVYo18nvfdXh0Ym1anNxxZ2end7j2A==","shasum":"ffdce6adb5acaeef740750165822cb99e70b32f8","tarball":"https://registry.npmjs.org/@behaver/fixed-star-position/-/fixed-star-position-1.0.2.tgz","fileCount":3,"unpackedSize":6411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6QipCRA9TVsSAnZWagAAjUQQAJG5N5lIvcGa/HBCX0Jj\nq8YBj9AOfFGuZbBJNboj3MpvcRljBCXekpNqR7aTAMjLHv8s7/LeXZNVrCp3\ng6tO16XAZBEpNxJiPtwU90EqcvCOfkO9mR3cE53cXpAVsDUK7rwgDJGzI893\nCP17ymCQzOSbRVS3AESeDMgJHB2Qbe1ca9xuVw+UOLrCAOOTh9ZjPjgS9oF9\nyu9+C3r5zy8GuKAAviKgRX8AMx3cQHXBLqinQ2wtJuDRYkHbl6dFjpQc6av+\nlvmzyxEmEAx7TeXCpWSfLHrdDtoD7kZtRYMmkqpWOCXNhzkWVD2VQhVB1ool\nC8msI9pQok0WCYsL9rOj9HTSx6FHlMRQoiSAznvZtNQS7RxZoEgFP27V0PX6\neH4xfG7PnKf2HzDJvu4yKFKT5iWYK6mhPg+uzkw8Vg+BsagWmsphN9QbgdtT\nd2PShVoxgOH1ah/ijOvy58fzm2JqYkWKVpafYI4FLxKIxRr5pVJQYvTQfx4I\nFJUTbMZ8Y08BWV+kUqBQMHN9XNzFgBW3hX0iVtMcRSQ1xmxgGWh10sQ/6zba\n3w1YRiIzPvzWHXQTfeqZkz9kCsedBUApEy3FCklQRICX5PIOlkvkGUtPdxM4\n/v2LBEVXFBoMzTd4ozLVnUix7bq++VYAXgLB6npCDP1neAi8bfshP7ISyeC8\n01+q\r\n=DaKg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5Dglfl/jr6Tu8k5GdWhmLGPX66+GWYsd6colfQ1Br+gIhANh3qcZlhpqLDDX/slN9jew9qkqWbwU0A2k1xsJq4JzI"}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fixed-star-position_1.0.2_1558775976581_0.5704437559872324"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-29T16:06:33.281Z","1.0.1":"2019-04-29T16:06:33.590Z","modified":"2022-04-04T18:12:39.082Z","1.0.2":"2019-05-25T09:19:36.840Z"},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"description":"This pkg is builded for calculating the position of fixed star.","homepage":"https://github.com/behaver/fixed-star-position#readme","keywords":["fixed","star"],"repository":{"type":"git","url":"git+https://github.com/behaver/fixed-star-position.git"},"author":{"name":"Sanwan, Dong"},"bugs":{"url":"https://github.com/behaver/fixed-star-position/issues"},"license":"ISC","readme":"# FixedStarPosition\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-position) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#)\n\n## 简介\n\nFixedStarPosition 是一个用于计算恒星赤道坐标的天文组件，计算的结果最终将以 `EquinoctialCoordinate` 实例返回。\n\n## 安装\n\n通过 npm 安装，在你的 node 项目目录下执行：\n\n`npm install @behaver/fixed-star-position`\n\n安装完成后，调用即可：\n\n`const FixedStarPosition = require('@behaver/fixed-star-position');`\n\n## 用例\n\n```js\nconst { JDateRepository } = require('@behaver/jdate');\nconst FixedStarPosition = require('@behaver/fixed-star-position');\n\n// 实例化儒略时间对象\nlet jdate = new JDateRepository(2462088.69, 'jde');\n\n// 实例化恒星赤道坐标计算组件\nlet FSC = new FixedStarPosition(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"}