{"_id":"@behaver/solar-star-position","_rev":"3-4ed155858982dcdfc80c41008ed256d9","name":"@behaver/solar-star-position","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.0":{"name":"@behaver/solar-star-position","version":"1.1.0","description":"This pkg is builded for calculating solar stars celestial position.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/solar-star-position.git"},"keywords":["star","position"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/solar-star-position/issues"},"homepage":"https://github.com/behaver/solar-star-position#readme","dependencies":{"@behaver/angle":"^2.0.3","@behaver/celestial-coordinate":"^1.8.0","@behaver/coordinate":"^3.3.3","@behaver/elp2000-moon-gecc":"^1.0.4","@behaver/jdate":"^2.3.2","@behaver/pluto99-hecc":"^1.0.2","@behaver/solar-planets-hecc":"^1.0.7"},"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0"},"gitHead":"9531de9b0a4a2550a4ace657bb7ff62bee943a1a","_id":"@behaver/solar-star-position@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-GH3m8W88YPWkf2nw2SlSbobu5NVgDmSoqy/9hYLGijFvDGriXDguMCRjXWgj8840NKU58ZoRfnB2AnWFJElEeA==","shasum":"f293c81ec975ad35028f4a70de7e0aacc59a574f","tarball":"https://registry.npmjs.org/@behaver/solar-star-position/-/solar-star-position-1.1.0.tgz","fileCount":18,"unpackedSize":36369,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxsBmCRA9TVsSAnZWagAAfc0P/3imegBoL/pYOg8AODOY\nLVs3EMDQooe5uwUSRKO5lgquApEm5aQa9EjD2BK1suobXd08rW93pPSOHDVl\nzzqnOPuDVrJkINf2CTUvETEaaSbaklNl780KcynSazC5rw6lemxpUWo6IV1X\nTO4choAQqsUueSLUqB/9UYoModZcpFShryr1xQCkyOK9yjwfU+7gM2pU0vrJ\nGG+XuNK4b6KR/7CF6BZcRaAAu2vS51rXC0mn/M8y91Z9rLWoMrtWdrUpOM5U\npw53q/3eRXr0fU0w/BbRYij8aN+rB2DauQvnsTuTwikHTYG6W3VKHbk5oADF\nHjgi5FrsopuOdbwAYT5J2io5RGSt5Xt0VSaJUKI+vTlXxoiHVu+ziKX1N6fD\nSku4x3Zz6uhyrCBfuwFKqES6W0alP6a5GplqT7Jlbc1Ln8p1tXPx+8MLMrd8\ngyavImk1isRkc/uaTjvHVL9qlaTPEQnohUPTVW1PU+Oy8uD/dSSCO5+c6MFs\n927+Op/iQRhM1JFj1vZFV+9WlzR4TYBVxA9srNvh5tL6+bKP1T3PsvuayFGx\nhyukvae/MfryibkAW82rhBPetcspzD9Bxd+11YLhd3WZydM4EljC1aWIO8Z4\n9VGjQ79z/GEWTlFBfLiWl25Tuq9oq7xEuZFLGxfC16JEbASSvbbFyKEYb3q8\nuddZ\r\n=Qgzy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICiCHWBdRkHEnYRIEzyMnHwCYH5MaftV2k8bhWjYca0tAiEA2OCfZ1s8KdaZ8+cvIlMd2U6xwtQzQ+irVtiKywyNsPk="}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/solar-star-position_1.1.0_1556529253488_0.4002508134049463"},"_hasShrinkwrap":false},"1.1.1":{"name":"@behaver/solar-star-position","version":"1.1.1","description":"This pkg is builded for calculating solar stars celestial position.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/solar-star-position.git"},"keywords":["star","position"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/solar-star-position/issues"},"homepage":"https://github.com/behaver/solar-star-position#readme","dependencies":{"@behaver/angle":"^2.0.3","@behaver/celestial-coordinate":"^1.8.1","@behaver/coordinate":"^3.4.0","@behaver/elp2000-moon-gecc":"^1.0.4","@behaver/jdate":"^2.3.2","@behaver/pluto99-hecc":"^1.0.2","@behaver/solar-planets-hecc":"^1.0.7"},"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0"},"gitHead":"b633a2f5683fd1e10749c2e6ccb6277ee4055eb6","_id":"@behaver/solar-star-position@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-6iVos9/hsiS2rxk/qxeGOBhS3WFpY5TPvtMkF54E4FnTCFZrNw3WAnLGC7Cpimh//d4xsyyd9D4y2oUz5cIfEA==","shasum":"45f12f81bec3e15f820d82abf6d963099df70496","tarball":"https://registry.npmjs.org/@behaver/solar-star-position/-/solar-star-position-1.1.1.tgz","fileCount":18,"unpackedSize":36367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6O1XCRA9TVsSAnZWagAAep8P/Ames8azigmQBv/5p71x\nKZh/Bv1J5qdKAUBGgkGwc0x+nABYv5uGxiKYolBszuLR2lrJKmYKeGcudl/j\nTLdtskq/e+yQ4iIGvtsOH5YMmEppEgG20+vAAQbi0aVZJMKBSIrrRIh7f7Qt\n0ayDyy9SgaWQNIN51OrHmucJmFLxYXSHcaDJEOE/JZx2KBYhHcxegNSncKAw\naOgH9K0YHXYgbagCfnv+GpX3o6UV/6arq7ixsSCJCO6nsfJPCcam6tbhSBa9\nbbGiZ3WDx/o3l4fQgl+XvUli0Z+WdxO4D4ZRw11ULtDYAffF7GHVwhhgr+U7\nUJpvgf8y4C8+mbdGHy38wj7/tz6QQ/HloJ/U+7DMvs912joJ+md03GLlqU7+\npa2J+jVWUYfYIgVVovhdXjK3kDwiisiv2j/AQkU9Xkw9wWCIIQ6eybSdxgpA\nQg6wRuGsukwRtHgi+F8j3+2TAhvLlWKzBSMP6yHnRJ0yGly4LsYqHPtPg78G\no4aazVlNbk/952FLilNCHnBHD+gozJ4qeA9AKk6UO3uksPSVpIVkZliYhj1Y\nlbsCNZi9Lr9FRK+KTRnPvZBZivQsYq0lzkbcN2QKj1gPpMRHPDLgJ1E3cpyx\nk2XPjmIHwXNAnyIY74KE27r59Axibc6tz7LlZTLztoUDjAYBHAfUGYIDXKv/\nwupk\r\n=Kq1l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0uB/WqdBKcTOOEZpJRTiZJnEwTvEAfoyi9tyxrncd4gIhAI0Qf2cuQs6BAsUi3BzAesX2cDohs73pDPUBMoJLoYZu"}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/solar-star-position_1.1.1_1558768982494_0.27627594408260037"},"_hasShrinkwrap":false},"1.1.2":{"name":"@behaver/solar-star-position","version":"1.1.2","description":"This pkg is builded for calculating solar stars celestial position.","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/behaver/solar-star-position.git"},"keywords":["star","position"],"author":{"name":"Sanwan, Dong"},"license":"ISC","bugs":{"url":"https://github.com/behaver/solar-star-position/issues"},"homepage":"https://github.com/behaver/solar-star-position#readme","dependencies":{"@behaver/angle":"^2.0.3","@behaver/celestial-coordinate":"^1.8.3","@behaver/coordinate":"^3.4.0","@behaver/elp2000-moon-gecc":"^1.0.6","@behaver/jdate":"^2.3.2","@behaver/pluto99-hecc":"^1.0.3","@behaver/solar-planets-hecc":"^1.0.8"},"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0"},"gitHead":"8c65246593f6c968cb78ffbf046c29dca16d0673","_id":"@behaver/solar-star-position@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"behaver","email":"qianxing@yeah.net"},"dist":{"integrity":"sha512-JhrKzVD9YanaTR/h40lnRX3NM2fSpNXKuYLmjF7jdz2FbMliTPfi7rOIOdIMiPV59rdUbcjx9/53DmLBcScGFQ==","shasum":"979e82b83f9163ecc039a4b2ce740d4507cf43a8","tarball":"https://registry.npmjs.org/@behaver/solar-star-position/-/solar-star-position-1.1.2.tgz","fileCount":18,"unpackedSize":36367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6Qp2CRA9TVsSAnZWagAAH/EP/A6jBOQRX6Xx0VM/Nhqp\n+ka2mOKUcL5O7EtTKqYDDUUtvuKxXf32RbLvNHaZpGOIjoDjCFyvryy/kZiS\nSk1nUYuifLVTowa2+BLbZ7G/+1Fdyytejs3vWJRpqS6AI6CejHEu6aQ6r+xd\n9/P3GVWF0E91AZNDej4mCDO4Vok/dwgT/DN4c/VohiY86YIExIZMHZvgAUQm\nU/7i8gHnUu5kNkFOZ6yBR395IEzGw1vsrhvWJW5BgeR7Nb3+H42s5gdE+i6D\nw+ITTgs9lzb55wBU2S7l7D04o1i20KVifkeOTxs3VZVeizHlg36Ioq+n961W\nm33FMjw4ifG1sfR7XpDZFOo0l36puFtercjZnN3jnw+lFQkNIrzMUulJqtLN\npEAdG7aA0nMADPF/Wy0O28CwxH0cujI0oSd0kO59N9NlNTVcUQl6MwdZw1BR\naoQ3ftfm18wjCEo8nd/8v7o1YLi7XC2qVPTovtz0RixKXz1rlQsit6v+HYC4\nM/WTmA6PdtX9yGzfiqMCQnwrzGHqq0P1htkPMAMqqLAUR6zmo1zaxhfiUIXi\nMNKv7IsoCXDF7fYc6w5mC6TwtLMoARl347BJdoyfpzweXJQN/7kI5TQSToxX\nOpxBt/zixhsByz0CKy/tnc4bQdAvO0h4K1wkmrGS/CXcXmZ8Hl1oa/5EDdo9\nmYkv\r\n=p27O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkBJ+b0Sw5aQz5RnUXESrweTcD+tgI7qA5FIEZqWko4QIhAKgOPuSvBy56goc4c/OB+/y2ZEe0mU31uQu2cY3XdnvW"}]},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/solar-star-position_1.1.2_1558776437663_0.5584111230309632"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-29T09:14:13.298Z","1.1.0":"2019-04-29T09:14:13.683Z","modified":"2022-04-04T18:12:42.050Z","1.1.1":"2019-05-25T07:23:02.672Z","1.1.2":"2019-05-25T09:27:17.739Z"},"maintainers":[{"name":"behaver","email":"qianxing@yeah.net"}],"description":"This pkg is builded for calculating solar stars celestial position.","homepage":"https://github.com/behaver/solar-star-position#readme","keywords":["star","position"],"repository":{"type":"git","url":"git+https://github.com/behaver/solar-star-position.git"},"author":{"name":"Sanwan, Dong"},"bugs":{"url":"https://github.com/behaver/solar-star-position/issues"},"license":"ISC","readme":"# SolarStarPosition\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](#) [![npm version](https://img.shields.io/npm/v/react.svg?style=flat)](https://www.npmjs.com/package/@behaver/solar-star-position) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#)\n\n## 简介\n\nSolarStarPosition 是一个关于基础星体天文坐标的计算组件。其中包含了对太阳、月球、太阳系八大行星和冥王星的天文坐标计算，同时提供了计算精度的控制接口。\n\n## 计算组件\n\nSolarStarPosition 依赖使用了底层的星体坐标计算模块，其中包括了[SolarPlanetsHECC](https://github.com/behaver/solar-planets-hecc)、[ELP2000MoonGECC](https://github.com/behaver/elp2000-moon-gecc)和[Pluto99HECC](https://github.com/behaver/pluto99-hecc)。它们被封装在星体坐标实例的 Calculator 属性中，用户可以直接通过更改这些计算模块的计算设定，来实现坐标计算过程相关的控制。\n\n## 用例\n\n```js\nconst { JupiterPosition } = require('@behaver/solar-star-position');\nconst { JDateRepository } = require('@behaver/jdate');\n\n// 实例化儒略时间\nlet jdate = new JDateRepository(2448908.5, 'jde');\n\n// 实例化木星坐标对象\nlet JupCoord = new JupiterPosition({\n  time: jdate,\n  withLightTimeEffect: true,\n});\n\n// 获取木星黄道坐标对象\nlet JupECC = JupCoord.get();\n\n// 获取木星黄经，单位：度\nlet JupL = JupECC.l.getDegrees();\n\n// 设置木星坐标计算精度为低\nJupCoord.Calculator.accuracy = 'low';\n\n// 获取低精度木星黄道坐标对象\nlet JupECCLow = JupCoord.get();\n\n// 获取低精度木星黄经，单位：弧度\nlet JupBLow = JupECCLow.b.getRadian();\n```\n\n## API\n\n`constructor(options)`\n\n构造函数:\n\n* options.time 参考时间\n* options.withLightTimeEffect 考虑光行时修正\n\n`set time(value)`\n\n设置参考时间属性\n\n`get time()`\n\n获取参考时间属性\n\n`set withLightTimeEffect(value)`\n\n设置 是否考虑光行时影响\n\n`get withLightTimeEffect()`\n\n获取 是否考虑光行时影响\n\n`get()`\n\n获取计算结果\n\n## 许可证书\n\nThe ISC license.\n\n","readmeFilename":"readme.md"}