{"id":1202,"date":"2023-12-19T11:39:10","date_gmt":"2023-12-19T11:39:10","guid":{"rendered":"https:\/\/shruti.karandikar.org\/?page_id=1202"},"modified":"2024-06-03T13:15:51","modified_gmt":"2024-06-03T13:15:51","slug":"programming","status":"publish","type":"page","link":"https:\/\/shruti.karandikar.org\/?page_id=1202","title":{"rendered":"Technology"},"content":{"rendered":"\n<div class=\"wp-block-group alignfull is-layout-constrained wp-block-group-is-layout-constrained\" style=\"padding-top:var(--wp--custom--spacing--small, 1.25rem);padding-bottom:var(--wp--custom--spacing--small, 1.25rem)\">\n<div class=\"wp-block-columns alignwide has-foreground-color has-text-color has-link-color wp-elements-66186a613cd5b934b505959d9f63e91f is-layout-flex wp-container-core-columns-is-layout-36e9ec45 wp-block-columns-is-layout-flex\" style=\"margin-top:0px;margin-bottom:0px\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"padding-bottom:6rem;flex-basis:66.66%\">\n<p class=\"has-text-align-left\">Seven years ago, the <a href=\"https:\/\/eventhorizontelescope.org\/\">Event Horizon Telescope<\/a> released the first image of a black hole. I dug into what they had done, watched a bunch of videos and read articles. That&#8217;s when I realized that a large part of generating this image had to do with software implementation. Other telescopes capture data in all parts of the electromagnetic spectrum which is mapped to visible light. These are the pictures we see. These photos are even more processed to remove noise or enhance the image to make it sharper. All of this remapping and processing is done in software.&nbsp;<\/p>\n\n\n\n<p>I also visited <a href=\"https:\/\/www.iucaa.in\/en\/\">IUCAA<\/a> for National Science day this year. Among the exhibits, I met a post doc who described how he was processing spectrometry data to identify the composition of stars in distant galaxies. This involved a lot of processing on a high performance cluster \u2013 software being used in the service of astronomy.&nbsp;<\/p>\n\n\n\n<p>The more images I saw, I started to wonder how these pictures were obtained. I used to think it was because of better quality telescopes, which is true, but it&#8217;s the advancement of software and hardware that makes the quality better. I used to wonder about the kinds of discoveries people used to make. Like finding the oldest galaxies, and now I know how they are dependent on software. This is what got me interested in programming.&nbsp;<\/p>\n\n\n\n<p>The big news after the Event Horizon telescope was <a href=\"https:\/\/webbtelescope.org\/home\">JWST<\/a>. Yes, the images are spectacular and yes it&#8217;s aiding science but how exactly is it doing what it&#8217;s doing? Before even taking the pictures the telescope had to open up in space and align itself precisely. Every segment had to be moved in steps of micrometers. This was done by actuators which are a bunch of electronics that are involved to get the telescope working. Similarly, it&#8217;s taking multi-day exposures of a region of the sky. The telescope has to be pointed in that direction without moving, as it&#8217;s going around the sun at the <a href=\"https:\/\/science.nasa.gov\/solar-system\/resources\/faq\/what-are-lagrange-points\/\">L2 point<\/a>. How does it maintain itself at that position while looking into deep space? I realized that there are some things that are not just software, but there&#8217;s also electronics involved and to answer these questions,I need to learn the basics of electronics and software.<\/p>\n\n\n\n<p>I started learning how to program because of EHT. After JWST, I realized that the data that&#8217;s being processed is coming from hardware. And I started asking questions about the hardware. To improve my understanding of it, I started working with the <a href=\"https:\/\/www.raspberrypi.com\/\">Raspberry Pi<\/a>.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<h3 class=\"wp-block-heading has-small-font-size\" style=\"font-style:normal;font-weight:500\"><strong>Notes for Further Research<\/strong><\/h3>\n\n\n\n<p>EHT: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Analysis<\/li>\n\n\n\n<li>understand the approach + math + algorithm<\/li>\n<\/ul>\n\n\n\n<p>Image Processing:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Noise removal<\/li>\n\n\n\n<li>Stacking<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/shruti.karandikar.org\/?page_id=1025\">JWST<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Understand actuators<\/li>\n\n\n\n<li>Spectrography<\/li>\n<\/ul>\n\n\n\n<p>Lagrange Points:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Understand the physics and maths<\/li>\n\n\n\n<li>Calculate for Earth and Jupiter<\/li>\n<\/ul>\n\n\n\n<p>ARM Processor:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Understand architecture<\/li>\n\n\n\n<li>Difference wrt x86 and Apple<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1928\" height=\"2560\" data-attachment-id=\"1156\" data-permalink=\"https:\/\/shruti.karandikar.org\/?attachment_id=1156\" data-orig-file=\"https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?fit=1928%2C2560&amp;ssl=1\" data-orig-size=\"1928,2560\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.85&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 6&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1671955930&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;6.81&quot;,&quot;iso&quot;:&quot;138&quot;,&quot;shutter_speed&quot;:&quot;0.011537&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"PXL_20221225_024210234\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?fit=226%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?fit=771%2C1024&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?resize=1928%2C2560&#038;ssl=1\" alt=\"\" class=\"wp-image-1156\" style=\"width:212px;height:auto\" srcset=\"https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?w=1928&amp;ssl=1 1928w, https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?resize=226%2C300&amp;ssl=1 226w, https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?resize=771%2C1024&amp;ssl=1 771w, https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?resize=768%2C1020&amp;ssl=1 768w, https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?resize=1157%2C1536&amp;ssl=1 1157w, https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2023\/02\/PXL_20221225_024210234-scaled.jpg?resize=1542%2C2048&amp;ssl=1 1542w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" data-recalc-dims=\"1\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-attachment-id=\"1282\" data-permalink=\"https:\/\/shruti.karandikar.org\/?attachment_id=1282\" data-orig-file=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?fit=1440%2C2560&amp;ssl=1\" data-orig-size=\"1440,2560\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.73&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 4a&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1717325712&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.38&quot;,&quot;iso&quot;:&quot;589&quot;,&quot;shutter_speed&quot;:&quot;0.029997&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"PXL_20240602_052512476\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?fit=169%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?fit=576%2C1024&amp;ssl=1\" src=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718-576x1024.jpg?resize=576%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-1282\" style=\"width:160px;height:auto\" srcset=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?resize=576%2C1024&amp;ssl=1 576w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?resize=169%2C300&amp;ssl=1 169w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?resize=768%2C1365&amp;ssl=1 768w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?resize=864%2C1536&amp;ssl=1 864w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?resize=1152%2C2048&amp;ssl=1 1152w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2024\/06\/PXL_20240602_052512476-scaled-e1717420150718.jpg?w=1440&amp;ssl=1 1440w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" data-recalc-dims=\"1\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-attachment-id=\"568\" data-permalink=\"https:\/\/shruti.karandikar.org\/?attachment_id=568\" data-orig-file=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?fit=1920%2C2560&amp;ssl=1\" data-orig-size=\"1920,2560\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.73&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;Pixel 4a&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1643223928&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.38&quot;,&quot;iso&quot;:&quot;109&quot;,&quot;shutter_speed&quot;:&quot;0.020026&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"PXL_20220126_133528887\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?fit=225%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?fit=768%2C1024&amp;ssl=1\" src=\"https:\/\/i2.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887.jpg?resize=768%2C1024&#038;ssl=1\" alt=\"\" class=\"wp-image-568\" style=\"width:213px;height:auto\" srcset=\"https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?resize=768%2C1024&amp;ssl=1 768w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?resize=225%2C300&amp;ssl=1 225w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?resize=1152%2C1536&amp;ssl=1 1152w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?resize=1536%2C2048&amp;ssl=1 1536w, https:\/\/i1.wp.com\/shruti.karandikar.org\/wp-content\/uploads\/2022\/02\/PXL_20220126_133528887-scaled.jpg?w=1920&amp;ssl=1 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" data-recalc-dims=\"1\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center\"><a href=\"https:\/\/shruti.karandikar.org\/?page_id=837(opens in a new tab)\">Essays<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center\"><a href=\"https:\/\/shruti.karandikar.org\/?page_id=1277(opens in a new tab)\">Raspberry Pi<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center\"><a href=\"https:\/\/shruti.karandikar.org\/?page_id=1279(opens in a new tab)\">Programming<\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Seven years ago, the Event Horizon Telescope released the first image of a black hole. I dug into what they had done, watched a bunch of videos and read articles. That&#8217;s when I realized that a large part of generating this image had to do with software implementation. Other telescopes capture data in all parts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"spay_email":"","footnotes":""},"class_list":["post-1202","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=\/wp\/v2\/pages\/1202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1202"}],"version-history":[{"count":5,"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=\/wp\/v2\/pages\/1202\/revisions"}],"predecessor-version":[{"id":1283,"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=\/wp\/v2\/pages\/1202\/revisions\/1283"}],"wp:attachment":[{"href":"https:\/\/shruti.karandikar.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}