Yi-Hao Su
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 用Python拉近群眾與星空的距離 蘇羿豪@PyCon Taiwan 2019 [創用CC 姓名標示 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) <iframe frameborder="0" src="https://button.like.co/in/embed/astrobackhacker/button?referrer=https://hackmd.io/@astrobackhacker/ByWuFL1DB"></iframe> --- ## :video_game: 《黑蛋與星的距離》 :scroll: 遊戲說明 選擇黑蛋的身份,完成任務以縮短他與星的距離 --- ## 請選擇黑蛋的身份 1. 高中生 2. 畢業一陣子的工程師 --- :::info 你小時候的夢想是當個天文學家,雖然長大後未如願,但仍時常關注天文新發現的報導。 ::: * 你目前與星的距離為 410 Mpc * 你已裝備的道具為 [astropy.units](http://docs.astropy.org/en/stable/units/index.html), 你可以用此道具將距離換算成較熟悉的單位 --- ```python from astropy import units as u pc = 1 * u.pc distance = 410 * 10 ** 6 * pc print(pc.to(u.km)) print(distance.to(u.km)) ``` 1pc ([parsec](https://zh.wikipedia.org/zh-tw/%E7%A7%92%E5%B7%AE%E8%B7%9D)) $\approx 3 * 10 ^ {13}$ km 410 Mpc $\approx 1.3 * 10 ^ {22}$ km ([GW150914](https://zh.wikipedia.org/zh-tw/GW150914)) --- :::info 任務: 你上網瀏覽今天的新聞,發現有個天文新發現,新聞中有原始論文的連結,你好奇天文學家是如何得到這個研究結果,因而點開連結看看論文。 ::: --- [:package:](https://hackmd.io/404) [:package:](https://hackmd.io/build/emojify.js/dist/images/basic/money_with_wings.png) :lock: 請繳交論文購買費 --- :lock: 請輸入內部人員密碼,以便取得該研究過程所需的觀測資料及程式碼 --- ## 任務失敗 ## 請重新選擇黑蛋的身份 高中生 ~~畢業一陣子的工程師~~ --- :::info 你是某高中天文社的教學長,你想要做點事。 ::: * 你目前與星的距離為 54 Mly --- ```python from astropy import units as u ly = 1 * u.lyr distance = 54 * 10 ** 6 * ly print(ly.to(u.km)) print(distance.to(u.km)) ``` 1ly ([light-year](https://zh.wikipedia.org/zh-tw/%E5%85%89%E5%B9%B4)) $\approx 9.5 * 10 ^ {12}$ km 54 Mly $\approx 5.1 * 10 ^ {20}$ km ([M87](https://zh.wikipedia.org/zh-tw/%E5%AE%A4%E5%A5%B3A%E6%98%9F%E7%B3%BB)) --- :::info 任務: 為了讓天文社課不要只有理論敘述,你想用開放的天文資料來動手畫圖解釋地科課本中的天文觀念。 ::: --- :lock: 網路上雖然有很多開放的天文資料,但你無法理解資料欄位代表的意義,也不知如何使用。 --- ## 任務失敗 但遊戲尚未結束,黑蛋仍需前進 --- ## 請選擇黑蛋的身份 轉職的天文博士 --- :::info 你天文所畢業後轉職,但仍想利用業餘時間對天文教育及研究有所貢獻。 ::: * 你目前與星的距離為 2.5 MAU --- ```python from astropy import units as u au = 1 * u.AU distance = 2.5 * 10 ** 6 * au print(au.to(u.km)) print(distance.to(u.km)) ``` 1AU ([astronomical unit](https://zh.wikipedia.org/zh-tw/%E5%A4%A9%E6%96%87%E5%96%AE%E4%BD%8D)) $\approx 1.5 * 10 ^ {8}$ km 2.5 MAU $\approx 3.7 * 10 ^ {14}$ km ([TRAPPIST-1](https://zh.wikipedia.org/zh-tw/TRAPPIST-1)) --- :::info 任務: 參加Astrohackers in Taiwan社群舉辦的天文黑客松,以天文專業知識協助其他黑蛋完成任務,並填寫黑客松活動的問卷。 ::: --- <iframe width="100%" height="500" src="https://coggle.it/diagram/XO_ETNAsCBx_Q-6r/t/20190525%E8%88%88%E5%A4%A7%E9%99%84%E4%B8%AD%E5%A4%A9%E6%96%87%E9%BB%91%E5%AE%A2%E6%9D%BE%E5%8F%83%E8%88%87%E8%80%85%E5%95%8F%E5%8D%B7%E5%9B%9E%E9%A5%8B/5de4484f926ef6a3842e2b0bbbfef87af42cb01b847269970d1559ca345cd6e5" frameborder="0"></iframe> [問卷結果連結](https://coggle.it/diagram/XO_ETNAsCBx_Q-6r/t/20190525%E8%88%88%E5%A4%A7%E9%99%84%E4%B8%AD%E5%A4%A9%E6%96%87%E9%BB%91%E5%AE%A2%E6%9D%BE%E5%8F%83%E8%88%87%E8%80%85%E5%95%8F%E5%8D%B7%E5%9B%9E%E9%A5%8B/5de4484f926ef6a3842e2b0bbbfef87af42cb01b847269970d1559ca345cd6e5) --- ## 任務成功 你目前與星的距離為 1 AU 但遊戲未完待續,黑蛋仍需前進 --- ## 開放天文 拉近群眾與星空的距離 * [Astrohackers in Taiwan](https://github.com/Astrohackers-TW)社群的共同創辦人 * 蘇羿豪 (網站開發及資料科學的遠距工作) * 陳正忠 (線上服務的系統管理及維運) ```python from astrohackers.tw import subcommunities ``` * [中央大學天文所Python使用者討論會](https://www.facebook.com/groups/1022708484514663/) * [遊戲化在天文教育及傳播的應用](https://www.facebook.com/groups/585242018618954/) * [天文黑客松](https://www.facebook.com/groups/888264928001934/) --- ```python from astrohackers.tw import nearfuture ``` * 在g0v黑客松上挖坑推坑「如何應用遊戲化來改進天文黑客松」 * 撰寫部落格文章提供開放天文資源的使用範例(觀測資料、[ASCL](https://ascl.net/)上的Python套件、...) * 建立能引導大眾使用開放天文資源的遊戲化平台,以做為公民天文學家的基礎訓練教材 <iframe frameborder="1" src="https://button.like.co/in/embed/astrobackhacker/button?referrer=https://hackmd.io/@astrobackhacker/ByWuFL1DB"></iframe>

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully