{"id":1228,"date":"2024-05-27T09:46:05","date_gmt":"2024-05-27T00:46:05","guid":{"rendered":"https:\/\/www.ananscience.jp\/variablestar\/?page_id=1228"},"modified":"2025-08-10T09:41:12","modified_gmt":"2025-08-10T00:41:12","slug":"%e6%af%94%e8%bc%83%e6%98%9f-t-crb%e7%94%a8-%e6%98%9f%e5%9b%b3%e3%81%ae%e5%9b%9e%e8%bb%a2%e9%83%a8%e5%b1%8b","status":"publish","type":"page","link":"https:\/\/www.ananscience.jp\/variablestar\/?page_id=1228","title":{"rendered":"\u6bd4\u8f03\u661f (T CrB\u7528) \u661f\u56f3\u306e\u56de\u8ee2\u90e8\u5c4b"},"content":{"rendered":"\n<p>\u3000\u661f\u56f3\u306e\u4e0b\u90e8\u306b\u3042\u308b<strong>\u30b9\u30e9\u30a4\u30c9\u30d0\u30fc<\/strong>\u3092\u30de\u30a6\u30b9\u3067\u52d5\u304b\u3059\u3068\u3001\u5199\u771f\u661f\u56f3\u3092\u56de\u8ee2\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3084\u30bf\u30d6\u30ec\u30c3\u30c8\u3067\u306f\u30b9\u30e9\u30a4\u30c9\u30d0\u30fc\u306e\u64cd\u4f5c\u304c\u30bf\u30c3\u30d7\u5f0f\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u5c11\u3005\u4f7f\u3044\u52dd\u624b\u304c\u60aa\u3044\u306e\u3067\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002\u30d1\u30bd\u30b3\u30f3\u3067\u306e\u64cd\u4f5c\u306f\u7279\u306b\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u3055\u3089\u306b\u3001\u89b3\u6e2c\u65e5\u6642\u3001\u7def\u5ea6\u7d4c\u5ea6\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u8996\u91ce\u56de\u8ee2\u3092\u8a08\u7b97\u3057\u3001\u661f\u56f3\u3092\u56de\u8ee2\u3055\u305b\u308b\u6a5f\u80fd\u3092\u4ed8\u52a0\u3057\u307e\u3057\u305f (2025\u5e748\u67089\u65e5\u66f4\u65b0)\u3002\u6bd4\u8f03\u661f\u306e\u7b49\u7d1a\u8868\u306f\u3010<strong><a href=\"https:\/\/www.ananscience.jp\/variablestar\/?page_id=865#comptable\" data-type=\"page\" data-id=\"865\" target=\"_blank\" rel=\"noreferrer noopener\">\u3053\u3061\u3089<\/a><\/strong>\u3011\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>\u753b\u50cf\u56de\u8ee2<\/title>\n\n    <!-- jQuery & jQuery UI -->\n    <link rel=\"stylesheet\" href=\"https:\/\/code.jquery.com\/ui\/1.12.1\/themes\/base\/jquery-ui.css\">\n    <script src=\"https:\/\/code.jquery.com\/jquery-3.6.0.min.js\"><\/script>\n    <script src=\"https:\/\/code.jquery.com\/ui\/1.12.1\/jquery-ui.min.js\"><\/script>\n\n    <style>\n        #image-container {\n            position: relative;\n            width: 700px;\n            height: 700px;\n        }\n        #image {\n            width: 100%;\n            height: 100%;\n            transform-origin: center; \/* \u4e2d\u5fc3\u56de\u8ee2 *\/\n        }\n        #rotate-slider {\n            width: 80%;\n            margin: 20px auto;\n        }\n        \/* \u5165\u529bUI *\/\n        .rot-ui {\n            display: grid;\n            gap: 6px;\n            max-width: 580px;\n            margin: 12px 0;\n        }\n        .rot-ui label { font-size: 14px; }\n        .rot-ui input[type=\"number\"],\n        .rot-ui input[type=\"datetime-local\"] { width: 220px; }\n        .rot-readout {\n            font-family: monospace;\n            font-size: 12px;\n            white-space: nowrap;\n        }\n        .btn-row button { margin-right: 8px; }\n    <\/style>\n<\/head>\n<body>\n\n    <!-- \u81ea\u52d5\u8a08\u7b97\u7528UI -->\n    <div class=\"rot-ui\">\n      <label>\u65e5\u4ed8\u3068\u6642\u523b\uff08JST\uff09\n        <input id=\"rot-dt\" type=\"datetime-local\">\n      <\/label>\n      <label>\u89b3\u6e2c\u5730 \u7def\u5ea6 \u03c6\uff08+\u5317, \u5ea6\uff09\n        <input id=\"rot-lat\" type=\"number\" step=\"0.0001\" value=\"33.9200\">\n      <\/label>\n      <label>\u89b3\u6e2c\u5730 \u7d4c\u5ea6 \u03bb\uff08+\u6771, \u5ea6\uff09\n        <input id=\"rot-lon\" type=\"number\" step=\"0.0001\" value=\"134.6600\">\n      <\/label>\n\n      <div class=\"btn-row\">\n        <button id=\"rot-now\">\u73fe\u5728\u6642\u523b(JST)\u3092\u30bb\u30c3\u30c8<\/button>\n        <button id=\"use-geo\">\u73fe\u5728\u5730\u304b\u3089\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97<\/button>\n        <button id=\"rot-apply\">\u8996\u91ce\u56de\u8ee2\u3092\u8a08\u7b97\u3057\u3066\u9069\u7528<\/button>\n      <\/div>\n      <div id=\"rot-readout\" class=\"rot-readout\"><\/div>\n    <\/div>\n\n    <!-- \u753b\u50cf\u3068\u30b9\u30e9\u30a4\u30c0\u30fc -->\n    <div id=\"image-container\">\n        <img decoding=\"async\" id=\"image\" src=\"https:\/\/www.ananscience.jp\/variablestar\/wp-content\/uploads\/2024\/05\/TCRBchart_compstar.jpg\" alt=\"Image\">\n    <\/div>\n    <div id=\"rotate-slider\"><\/div>\n\n    <script>\n        \/\/ \u65e2\u5b58\u30b9\u30e9\u30a4\u30c0\u30fc\u521d\u671f\u5316\n        $(function() {\n            $('#rotate-slider').slider({\n                min: 0,\n                max: 360,\n                step: 1,\n                slide: function(event, ui) {\n                    $('#image').css('transform', 'rotate(' + ui.value + 'deg)');\n                }\n            });\n        });\n\n        (function($){\n            \/\/ ---- T CrB \u56fa\u5b9a\u5ea7\u6a19 ----\n            const RA_DEG  = 239.901;  \/\/ RA=15h59m36.356s\n            const DEC_DEG = 25.937;\n\n            const toRad = d => d * Math.PI \/ 180;\n            const toDeg = r => r * 180 \/ Math.PI;\n            const wrap360 = d => (d % 360 + 360) % 360;\n            const wrap180 = d => { const x = wrap360(d); return x > 180 ? x - 360 : x; };\n\n            function jdFromDate(date) {\n              return date.getTime() \/ 86400000 + 2440587.5;\n            }\n            function gmstDeg(jd) {\n              const T = (jd - 2451545.0) \/ 36525.0;\n              let gmst = 280.46061837\n                       + 360.98564736629 * (jd - 2451545.0)\n                       + 0.000387933 * T*T\n                       - (T*T*T)\/38710000.0;\n              return wrap360(gmst);\n            }\n            function lstDeg(jd, lonE) {\n              return wrap360(gmstDeg(jd) + lonE);\n            }\n            function parallacticAngleDeg(phiDeg, decDeg, Hdeg) {\n              const phi = toRad(phiDeg);\n              const dec = toRad(decDeg);\n              const H   = toRad(Hdeg);\n              const num = Math.sin(H);\n              const den = Math.tan(phi)*Math.cos(dec) - Math.sin(dec)*Math.cos(H);\n              return toDeg(Math.atan2(num, den));\n            }\n            function setSliderAndImage(deg) {\n              const v = wrap360(deg);\n              $('#rotate-slider').slider('value', v);\n              $('#image').css('transform', 'rotate(' + v + 'deg)');\n            }\n            function computeAndApply() {\n              const dtStr = $('#rot-dt').val();\n              if (!dtStr) { alert('\u65e5\u6642\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044'); return; }\n\n              const date = new Date(dtStr);\n              const lat  = parseFloat($('#rot-lat').val());\n              const lonE = parseFloat($('#rot-lon').val());\n\n              const jd  = jdFromDate(date);\n              const lst = lstDeg(jd, lonE);\n              const H   = wrap180(lst - RA_DEG);\n              const q   = parallacticAngleDeg(lat, DEC_DEG, H);\n\n              const rotationDeg = q; \/\/ \u56de\u8ee2\u65b9\u5411\u306f +q\n\n              setSliderAndImage(rotationDeg);\n\n              $('#rot-readout').text(\n                'JD=' + jd.toFixed(5)\n                + '  LST=' + lst.toFixed(3) + '\u00b0'\n                + '  H=' + H.toFixed(3) + '\u00b0'\n                + '  q=' + q.toFixed(3) + '\u00b0'\n                + '  rotate=' + rotationDeg.toFixed(3) + '\u00b0'\n              );\n            }\n\n            \/\/ \u73fe\u5728\u6642\u523b\u3092\u30bb\u30c3\u30c8\n            $('#rot-now').on('click', function(e){\n              e.preventDefault();\n              const now = new Date();\n              const z = n => String(n).padStart(2,'0');\n              const yyyy = now.getFullYear();\n              const mm   = z(now.getMonth()+1);\n              const dd   = z(now.getDate());\n              const hh   = z(now.getHours());\n              const mi   = z(now.getMinutes());\n              $('#rot-dt').val(`${yyyy}-${mm}-${dd}T${hh}:${mi}`);\n            });\n\n            \/\/ \u8a08\u7b97\u3092\u5b9f\u884c\n            $('#rot-apply').on('click', function(e){\n              e.preventDefault();\n              computeAndApply();\n            });\n\n            \/\/ \u73fe\u5728\u5730\u304b\u3089\u7def\u5ea6\u7d4c\u5ea6\u3092\u53d6\u5f97\n            $('#use-geo').on('click', function(e){\n              e.preventDefault();\n              if (!navigator.geolocation) {\n                alert('\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u306f\u4f4d\u7f6e\u60c5\u5831\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002');\n                return;\n              }\n              navigator.geolocation.getCurrentPosition(\n                pos => {\n                  const lat = pos.coords.latitude;\n                  const lon = pos.coords.longitude;\n                  $('#rot-lat').val(lat.toFixed(6));\n                  $('#rot-lon').val(lon.toFixed(6));\n                },\n                err => {\n                  alert('\u4f4d\u7f6e\u60c5\u5831\u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f\uff1a' + err.message);\n                },\n                { enableHighAccuracy: true, timeout: 8000, maximumAge: 0 }\n              );\n            });\n        })(jQuery);\n    <\/script>\n\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong><a href=\"https:\/\/www.ananscience.jp\/variablestar\/?page_id=624\" data-type=\"page\" data-id=\"624\">\u30ad\u30e3\u30f3\u30da\u30fc\u30f3\u30da\u30fc\u30b8 TOP \u306b\u623b\u308b<\/a><\/strong><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u661f\u56f3\u306e\u4e0b\u90e8\u306b\u3042\u308b\u30b9\u30e9\u30a4\u30c9\u30d0\u30fc\u3092\u30de\u30a6\u30b9\u3067\u52d5\u304b\u3059\u3068\u3001\u5199\u771f\u661f\u56f3\u3092 <a class=\"more-link\" href=\"https:\/\/www.ananscience.jp\/variablestar\/?page_id=1228\">\u7d9a\u304d\u3092\u8aad\u3080 &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":865,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1228","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/pages\/1228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1228"}],"version-history":[{"count":14,"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/pages\/1228\/revisions"}],"predecessor-version":[{"id":1609,"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/pages\/1228\/revisions\/1609"}],"up":[{"embeddable":true,"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=\/wp\/v2\/pages\/865"}],"wp:attachment":[{"href":"https:\/\/www.ananscience.jp\/variablestar\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}