{
  "id": 588518,
  "title": "What are the time units of the AIRS-CH0 and FGS1 sensors?",
  "url": "/competitions/ariel-data-challenge-2025/discussion/588518",
  "author_name": "SolverWorld",
  "post_date": "2025-07-07T00:43:10.926000",
  "votes": 12,
  "comment_count": 42,
  "views": 0,
  "content": "<p>Looking at the physics of a planetary transit, it seems that the transit time should be approximately<br>\n<code>2*R_star/(2*pi*R_orbit)*orbit_period</code><br>\nbecause this is the fraction of the time that the planet could be in front of the star (assuming a planet small in comparison to the star and the observer far away).  It could be less than this if the orbital plane is tilted such that the planet transits closer to an edge of the star, but this is a good starting point.<br>\nLooking at one planet_id:</p>\n<pre><code>        .\n        .\n     .\n        .\n         .\n         .\n      .\n        .\n: , dtype: float64\n</code></pre>\n<p>I compute a transit time of 0.17 days or 14,688 sec.<br>\nThe transit graph looks like this, with a transit time of roughly 25/287*7.5 = 0.65 sec where the entire AIRS-CH0 scan is 7.5 seconds (from axis_info).  I'm off by almost 24,000x.<br>\nAre the units in the axis_info file not in seconds? <br>\nThe introduction to the competition says the FGS1 channel time is .1s per time step, but the axis_info file says .00011 per time step, so perhaps the units are confused somewhere?</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F970175570a252e08679b56e80ccfc330%2FScreenshot%202025-07-06%20at%208.34.49PM.png?generation=1751848571988419&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": 3243269,
      "postDate": "2025-07-07T00:43:10.927Z",
      "content": "<p>Looking at the physics of a planetary transit, it seems that the transit time should be approximately<br>\n<code>2*R_star/(2*pi*R_orbit)*orbit_period</code><br>\nbecause this is the fraction of the time that the planet could be in front of the star (assuming a planet small in comparison to the star and the observer far away).  It could be less than this if the orbital plane is tilted such that the planet transits closer to an edge of the star, but this is a good starting point.<br>\nLooking at one planet_id:</p>\n<pre><code>        .\n        .\n     .\n        .\n         .\n         .\n      .\n        .\n: , dtype: float64\n</code></pre>\n<p>I compute a transit time of 0.17 days or 14,688 sec.<br>\nThe transit graph looks like this, with a transit time of roughly 25/287*7.5 = 0.65 sec where the entire AIRS-CH0 scan is 7.5 seconds (from axis_info).  I'm off by almost 24,000x.<br>\nAre the units in the axis_info file not in seconds? <br>\nThe introduction to the competition says the FGS1 channel time is .1s per time step, but the axis_info file says .00011 per time step, so perhaps the units are confused somewhere?</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F970175570a252e08679b56e80ccfc330%2FScreenshot%202025-07-06%20at%208.34.49PM.png?generation=1751848571988419&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Looking at the physics of a planetary transit, it seems that the transit time should be approximately\n`2*R_star/(2*pi*R_orbit)*orbit_period`\nbecause this is the fraction of the time that the planet could be in front of the star (assuming a planet small in comparison to the star and the observer far away).  It could be less than this if the orbital plane is tilted such that the planet transits closer to an edge of the star, but this is a good starting point.\nLooking at one planet_id:\n```\nRs        1.250623\nMs        1.162019\nTs     6023.702622\nMp        2.262107\ne         0.000000\nP         7.541019\nsma      14.144310\ni        87.178007\nName: 8456603, dtype: float64\n```\nI compute a transit time of 0.17 days or 14,688 sec.\nThe transit graph looks like this, with a transit time of roughly 25/287*7.5 = 0.65 sec where the entire AIRS-CH0 scan is 7.5 seconds (from axis_info).  I'm off by almost 24,000x.\nAre the units in the axis_info file not in seconds? \nThe introduction to the competition says the FGS1 channel time is .1s per time step, but the axis_info file says .00011 per time step, so perhaps the units are confused somewhere?\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F970175570a252e08679b56e80ccfc330%2FScreenshot%202025-07-06%20at%208.34.49PM.png?generation=1751848571988419&alt=media)\n",
      "votes": 11
    },
    {
      "id": 3252201,
      "postDate": "2025-07-22T07:41:12.533Z",
      "content": "<p>Has anyone been able to confirm this for the new train data?<br>\nI tried but failed, so I'm doubting there's a bug in my code.</p>",
      "rawMarkdown": "Has anyone been able to confirm this for the new train data?\nI tried but failed, so I'm doubting there's a bug in my code.",
      "votes": 3,
      "replies": [
        {
          "id": 3252275,
          "postDate": "2025-07-22T11:01:58.763Z",
          "content": "<p>negative, <br>\nI always find planets where it doesn't fit the formula. There is also no fixed scaling or offset, so I am wondering as well what may be causing this.</p>\n<blockquote>\n  <p>We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration)</p>\n</blockquote>\n<p>But maybe just this, and some values in the dataset are just wrong. </p>",
          "rawMarkdown": "negative, \nI always find planets where it doesn't fit the formula. There is also no fixed scaling or offset, so I am wondering as well what may be causing this.\n\n> We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration)\n\nBut maybe just this, and some values in the dataset are just wrong. ",
          "replies": [
            {
              "id": 3252323,
              "postDate": "2025-07-22T13:08:41.717Z",
              "content": "<p>Same, provided values don't match estimated time span from data.</p>\n<p>I hope we are not headed to a third version of the dataset.</p>",
              "rawMarkdown": "Same, provided values don't match estimated time span from data.\n\nI hope we are not headed to a third version of the dataset.",
              "votes": 1
            },
            {
              "id": 3252324,
              "postDate": "2025-07-22T13:18:08.800Z",
              "content": "<p>Hi all, thank you for the question , to clarify, the provided quantities in the train_star_info.csv table contains noise hence it should not match the observed duration (if we are talking about the transit duration), but it should not be too far off, treat that as an approximation rather than the ground truth though!</p>",
              "rawMarkdown": "Hi all, thank you for the question , to clarify, the provided quantities in the train_star_info.csv table contains noise hence it should not match the observed duration (if we are talking about the transit duration), but it should not be too far off, treat that as an approximation rather than the ground truth though!",
              "votes": 5
            },
            {
              "id": 3252328,
              "postDate": "2025-07-22T13:21:45.780Z",
              "content": "<p><a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Thanks for the confirmation. </p>\n<p>It would be good to have the std error for the values in the table. You ask us to provide std errors, but you don't do it yourself :D</p>",
              "rawMarkdown": "@gordonyip Thanks for the confirmation. \n\nIt would be good to have the std error for the values in the table. You ask us to provide std errors, but you don't do it yourself :D",
              "votes": 1
            },
            {
              "id": 3252352,
              "postDate": "2025-07-22T14:13:02.047Z",
              "content": "<p><a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Thank you very much for your confirmation. That's why I gave up using star info to detect transit</p>",
              "rawMarkdown": "@gordonyip Thank you very much for your confirmation. That's why I gave up using star info to detect transit"
            },
            {
              "id": 3252368,
              "postDate": "2025-07-22T14:50:24.437Z",
              "content": "<p>Okay, I now understand that there is a noise added to the star_info.csv parameters.<br>\nHowever, I'm still having trouble matching the transit duration calculated with AIRS-CH0 and FGS1 observations.<br>\nAre they supposed to match, except for the difference in planet radius?<br>\nMy analysis code says that for some planets the transit lengths do not match, even when taking the planet radius error into account..</p>",
              "rawMarkdown": "Okay, I now understand that there is a noise added to the star_info.csv parameters.\nHowever, I'm still having trouble matching the transit duration calculated with AIRS-CH0 and FGS1 observations.\nAre they supposed to match, except for the difference in planet radius?\nMy analysis code says that for some planets the transit lengths do not match, even when taking the planet radius error into account.."
            },
            {
              "id": 3252375,
              "postDate": "2025-07-22T15:08:57.487Z",
              "rawMarkdown": "",
              "isDeleted": true
            },
            {
              "id": 3252377,
              "postDate": "2025-07-22T15:10:32.877Z",
              "content": "<p>The formula you’re using provides an upper bound for transit duration assuming a circular orbit with an inclination of 90 degrees. However, in reality, the orbital inclination can be less than 90°, meaning the planet may only graze the edge of the star, resulting in a much shorter transit. Additionally, if the orbit is elliptical, the actual transit duration can be either longer or shorter than predicted by the circular model, depending on the orbital eccentricity and the orientation of the ellipse.<br>\nAlso, in your calculations you seem to ignore 30x binning which is applied by default and which averages 30 consequite frames for AIRS and 30*12 for FGS.<br>\nHope this helps.</p>",
              "rawMarkdown": "The formula you’re using provides an upper bound for transit duration assuming a circular orbit with an inclination of 90 degrees. However, in reality, the orbital inclination can be less than 90°, meaning the planet may only graze the edge of the star, resulting in a much shorter transit. Additionally, if the orbit is elliptical, the actual transit duration can be either longer or shorter than predicted by the circular model, depending on the orbital eccentricity and the orientation of the ellipse.\nAlso, in your calculations you seem to ignore 30x binning which is applied by default and which averages 30 consequite frames for AIRS and 30*12 for FGS.\nHope this helps.",
              "votes": 2
            },
            {
              "id": 3252378,
              "postDate": "2025-07-22T15:20:15.207Z",
              "content": "<p>have you accounted for the geometric effect ? if so, the formula should be… <br>\nt_14 = (period / (pi * a_in_stellar_radii)) * sqrt((1 + planet_radius/stellar_radius)^2 - impact_parameter^2)</p>",
              "rawMarkdown": "have you accounted for the geometric effect ? if so, the formula should be... \nt_14 = (period / (pi * a_in_stellar_radii)) * sqrt((1 + planet_radius/stellar_radius)^2 - impact_parameter^2)",
              "votes": 4
            },
            {
              "id": 3252402,
              "postDate": "2025-07-22T16:28:12.253Z",
              "content": "<p>Since we don't know the exact value of <strong>planet_radius / stellar_radius</strong>, I estimated it using <strong>sqrt(dip)</strong></p>\n<p>Using the formula:</p>\n<p>$$<br>\nt_{14} = \\frac{\\text{period}}{\\pi \\cdot a/R_s} \\cdot \\sqrt{(1 + R_p/R_s)^2 - b^2}<br>\n$$</p>\n<p>I approximate the <strong>impact parameter</strong><code>b</code> as:</p>\n<p>$$<br>\nb = \\text{sma}_\\text{Rs} \\cdot \\cos(i)<br>\n$$</p>\n<p><code>i</code> is the orbital inclination in degrees.</p>\n<p>My analysis results are approximately as follows:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2Ffa9162905ffe45c4e7e5a54c09e97b7d%2F2af92a6ed5272e242dbba169d980b144.png?generation=1753201022145370&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F9f2fc9f612074ea5d5e88fd8936ee111%2F75a1526f79df629a03ef59be1169c990.png?generation=1753201030824329&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F84518be2f4c69dbbc17c68ee3f9abb08%2F451f7cae-ed33-4d37-8c0a-8acded17fd50.png?generation=1753201285364436&amp;alt=media\" alt=\"\"></p>\n<hr>\n<p>I'm not sure if my analysis is correct, but there are indeed quite a few deviations?<br>\nWhat about the analyses of others?<br>\n<a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Do you think this looks normal?</p>",
              "rawMarkdown": "Since we don't know the exact value of **planet\\_radius / stellar\\_radius**, I estimated it using **sqrt(dip)**\n\nUsing the formula:\n\n$$\nt_{14} = \\frac{\\text{period}}{\\pi \\cdot a/R_s} \\cdot \\sqrt{(1 + R_p/R_s)^2 - b^2}\n$$\n\nI approximate the **impact parameter**`b` as:\n\n$$\nb = \\text{sma}_\\text{Rs} \\cdot \\cos(i)\n$$\n\n`i` is the orbital inclination in degrees.\n\n\nMy analysis results are approximately as follows:\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2Ffa9162905ffe45c4e7e5a54c09e97b7d%2F2af92a6ed5272e242dbba169d980b144.png?generation=1753201022145370&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F9f2fc9f612074ea5d5e88fd8936ee111%2F75a1526f79df629a03ef59be1169c990.png?generation=1753201030824329&alt=media)\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F84518be2f4c69dbbc17c68ee3f9abb08%2F451f7cae-ed33-4d37-8c0a-8acded17fd50.png?generation=1753201285364436&alt=media)\n\n---\n\n\nI'm not sure if my analysis is correct, but there are indeed quite a few deviations?\nWhat about the analyses of others?\n@gordonyip Do you think this looks normal?\n\n",
              "votes": 4
            },
            {
              "id": 3252646,
              "postDate": "2025-07-23T06:08:19.403Z",
              "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F073acc720210af04ce4a7727a66b3444%2Fdownload.png?generation=1753250819079127&amp;alt=media\" alt=\"\"></p>\n<p>Also, for comparison, this is the case using <code>2*R_star/(2*pi*R_orbit)*orbit_period</code>. I think the degree of deviations is greater?</p>",
              "rawMarkdown": "![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F073acc720210af04ce4a7727a66b3444%2Fdownload.png?generation=1753250819079127&alt=media)\n\nAlso, for comparison, this is the case using `2*R_star/(2*pi*R_orbit)*orbit_period`. I think the degree of deviations is greater?"
            },
            {
              "id": 3252772,
              "postDate": "2025-07-23T11:32:42.603Z",
              "content": "<p>For what it's worth, I have very close figures, esp the one before last.</p>",
              "rawMarkdown": "For what it's worth, I have very close figures, esp the one before last."
            },
            {
              "id": 3264379,
              "postDate": "2025-08-06T14:40:36.337Z",
              "content": "<p>Hi, your analysis is very insightful! May I ask if you could describe in more detail how a and b are calculated?</p>",
              "rawMarkdown": "Hi, your analysis is very insightful! May I ask if you could describe in more detail how a and b are calculated?\n"
            },
            {
              "id": 3264606,
              "postDate": "2025-08-06T18:49:00.727Z",
              "content": "<p>I have similar results, that is, that the duration of the transit corresponds approximately with the expected duration from provided P and sma values.  However, after realizing that transit depth is approx (Rp/Rs)**2, you can compute a density of the planet given the provided Mp (Mass of planet in earth masses).<br>\nUsing </p>\n<pre><code> = *      \n = e8    \n = math.sqrt(row.delta)            \n = /*pi*(Rp_delta*Rs*Rsolar)**   \n = Mp*e24/V       \n</code></pre>\n<p>For the first planet, delta=.019, Rp=sqrt(delta)=.138 and<br>\ncomputed density = 0.711<br>\nEarth's density is 5515 kg/m3 - Are planets 7700x less dense than Earth?<br>\nThe other planets have similar densities in the range of .12 to 2 kg/m^3<br>\nIs the Mp provided way off, or perhaps in different units than Earth mass?</p>",
              "rawMarkdown": "I have similar results, that is, that the duration of the transit corresponds approximately with the expected duration from provided P and sma values.  However, after realizing that transit depth is approx (Rp/Rs)**2, you can compute a density of the planet given the provided Mp (Mass of planet in earth masses).\nUsing \n```\nRe = 6371*1000      #earth radius in m\nRsolar = 6.957e8    #solar radius in m\nRp_delta = math.sqrt(row.delta)            #row.delta is a measured transit depth\nV = 4/3*pi*(Rp_delta*Rs*Rsolar)**3   # volume of planet in m^3\ncomputed_density = Mp*5.9e24/V       # 5.9e24 is mass of Earth in kg\n```\nFor the first planet, delta=.019, Rp=sqrt(delta)=.138 and\ncomputed density = 0.711\nEarth's density is 5515 kg/m3 - Are planets 7700x less dense than Earth?\nThe other planets have similar densities in the range of .12 to 2 kg/m^3\nIs the Mp provided way off, or perhaps in different units than Earth mass?"
            },
            {
              "id": 3264741,
              "postDate": "2025-08-06T21:18:51.787Z",
              "content": "<p>Thanks for catching this! There is an error in the data description, it should be in Jupiter mass unit! I will get it changed shortly. </p>",
              "rawMarkdown": "Thanks for catching this! There is an error in the data description, it should be in Jupiter mass unit! I will get it changed shortly. ",
              "votes": 4
            },
            {
              "id": 3264746,
              "postDate": "2025-08-06T21:20:51.973Z",
              "content": "<p>Wow Jupiter&gt;&gt;Earth!</p>",
              "rawMarkdown": "Wow Jupiter>>Earth!"
            },
            {
              "id": 3266354,
              "postDate": "2025-08-08T21:02:52.460Z",
              "content": "<p>Maybe you should change the symbol next to the Jupiter Mass to M♃  😃</p>",
              "rawMarkdown": "Maybe you should change the symbol next to the Jupiter Mass to M♃  😃"
            },
            {
              "id": 3266357,
              "postDate": "2025-08-08T21:17:54.537Z",
              "content": "<p>Indeed! Will do that </p>",
              "rawMarkdown": "Indeed! Will do that ",
              "votes": 1
            },
            {
              "id": 3276841,
              "postDate": "2025-08-26T23:55:00.947Z",
              "content": "<p>What is \"a_in_stellar_radii\" here?<br>\nedit: nvm figured it out, its sma</p>",
              "rawMarkdown": "What is \"a_in_stellar_radii\" here?\nedit: nvm figured it out, its sma"
            }
          ]
        }
      ]
    },
    {
      "id": 3245573,
      "postDate": "2025-07-09T14:57:51.333Z",
      "content": "<p>Hi everyone, <br>\nthank you for bringing up this issue. We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration), we are currently looking into the issue. Thanks for the great discussion. Please keep it up! </p>\n<p>it should not affect the game as the goal is to get the transit depth, which is not dependent on the duration.</p>",
      "rawMarkdown": "Hi everyone, \nthank you for bringing up this issue. We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration), we are currently looking into the issue. Thanks for the great discussion. Please keep it up! \n\nit should not affect the game as the goal is to get the transit depth, which is not dependent on the duration.",
      "votes": 4,
      "replies": [
        {
          "id": 3245634,
          "postDate": "2025-07-09T15:56:45.277Z",
          "content": "<p>Thanks for confirming!   </p>\n<p>A follow-up question:  for the exoplanet systems that Ariel will study, do you expect that there will be independent estimates of orbital parameters based on other measurements?  I ask because some models might benefit from external constraints like a predicted value for the transit duration (or even a signal parameterization in terms of one or two missing orbital parameters)…but if the parameters needed for such constraints aren't likely to be available, then that sort of approach is impractical.</p>",
          "rawMarkdown": "Thanks for confirming!   \n\nA follow-up question:  for the exoplanet systems that Ariel will study, do you expect that there will be independent estimates of orbital parameters based on other measurements?  I ask because some models might benefit from external constraints like a predicted value for the transit duration (or even a signal parameterization in terms of one or two missing orbital parameters)...but if the parameters needed for such constraints aren't likely to be available, then that sort of approach is impractical.",
          "replies": [
            {
              "id": 3252327,
              "postDate": "2025-07-22T13:21:45.190Z",
              "content": "<p>Hi sorry for the late reply here - yes for some parameters Ariel will have independent estimates of them, most of them are provided in train_star_info.csv, they are independent estimates of the system but contains noise, so they are not 100% accuracy, this move is to simulate the real life scenario where we will not have exact measurement of the system </p>",
              "rawMarkdown": "Hi sorry for the late reply here - yes for some parameters Ariel will have independent estimates of them, most of them are provided in train_star_info.csv, they are independent estimates of the system but contains noise, so they are not 100% accuracy, this move is to simulate the real life scenario where we will not have exact measurement of the system ",
              "votes": 1
            },
            {
              "id": 3252928,
              "postDate": "2025-07-23T17:34:01.673Z",
              "content": "<p>Great to know -- thank you!</p>",
              "rawMarkdown": "Great to know -- thank you!"
            }
          ]
        }
      ]
    },
    {
      "id": 3245582,
      "postDate": "2025-07-09T15:07:02.940Z",
      "content": "<p>btw you might want to check your lightcurve above - it doesnt look <code>normal</code></p>",
      "rawMarkdown": "btw you might want to check your lightcurve above - it doesnt look `normal`",
      "votes": 1,
      "replies": [
        {
          "id": 3245606,
          "postDate": "2025-07-09T15:26:12.553Z",
          "content": "<p>Does this look better?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2Fd9491fdfa81f7311fa1d9d3a42683582%2FScreenshot%202025-07-08%20at%207.23.30AM.png?generation=1752074749301887&amp;alt=media\" alt=\"corrected lightcurve\"></p>",
          "rawMarkdown": "Does this look better?\n![corrected lightcurve](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2Fd9491fdfa81f7311fa1d9d3a42683582%2FScreenshot%202025-07-08%20at%207.23.30AM.png?generation=1752074749301887&alt=media)",
          "replies": [
            {
              "id": 3252326,
              "postDate": "2025-07-22T13:18:30.983Z",
              "content": "<p>yes it does!</p>",
              "rawMarkdown": "yes it does!\n",
              "votes": 1
            }
          ]
        }
      ]
    },
    {
      "id": 3244176,
      "postDate": "2025-07-07T22:38:07.960Z",
      "content": "<p>I'm under the impression that the axis_info.parquet file has the time in units of seconds, but I think maybe you've grabbed the wrong column by accident?  My understanding is that the AIRS-ch0 sensor captures 11250 frames, with alternating collection times of 0.1s and 4.5s.  Assuming no pause in between each 0.1s+4.5s pair, that's something like 0.3 days for the full scan.  That time scale makes sense if a typical transit is of the same order of magnitude as the 0.17 days you compute.</p>\n<p>Another possible contribution to the difference you see:  I think the formula you've used to estimate that 0.17 days may be assuming zero impact parameter,  whereas the example you're looking at has an inclination of about 87 degrees.  So the actual transit is probably shorter than 0.17 days because it has a nonzero impact parameter, i.e. the path of the planet is only a chord on the circle of the star, rather than a diameter.  If I'm reading <a href=\"https://arxiv.org/pdf/1001.2010v5\" target=\"_blank\">Winn's paper</a> right, eq.7 can give you an estimate of the impact parameter.  If we knew the radius of the planet (or if we assume it's negligible), we could probably plug that into eqs. 14 or 15 (also eq 16, for cases with nonzero eccentricity) to get an estimate of the transit time.</p>\n<p>If I plug numbers into eqs. 7 and 14, I get an impact parameter of about 0.7 and a transit duration of ~0.12 days, or about 10k seconds.  This is still off by a factor of ~4 from (25/287)*(5626 frame pairs)*(4.6s per frame pair).  Not sure I understand that 25/287, though.  To my eye, the full width of the dip in your plot looks to be closer to 40 or 50 units of x-axis, and the x-axis only goes up to about 180 or so.  Is 287 maybe a typo, where you meant to say 187?  </p>",
      "rawMarkdown": "I'm under the impression that the axis_info.parquet file has the time in units of seconds, but I think maybe you've grabbed the wrong column by accident?  My understanding is that the AIRS-ch0 sensor captures 11250 frames, with alternating collection times of 0.1s and 4.5s.  Assuming no pause in between each 0.1s+4.5s pair, that's something like 0.3 days for the full scan.  That time scale makes sense if a typical transit is of the same order of magnitude as the 0.17 days you compute.\n  \nAnother possible contribution to the difference you see:  I think the formula you've used to estimate that 0.17 days may be assuming zero impact parameter,  whereas the example you're looking at has an inclination of about 87 degrees.  So the actual transit is probably shorter than 0.17 days because it has a nonzero impact parameter, i.e. the path of the planet is only a chord on the circle of the star, rather than a diameter.  If I'm reading [Winn's paper](https://arxiv.org/pdf/1001.2010v5) right, eq.7 can give you an estimate of the impact parameter.  If we knew the radius of the planet (or if we assume it's negligible), we could probably plug that into eqs. 14 or 15 (also eq 16, for cases with nonzero eccentricity) to get an estimate of the transit time.\n\nIf I plug numbers into eqs. 7 and 14, I get an impact parameter of about 0.7 and a transit duration of ~0.12 days, or about 10k seconds.  This is still off by a factor of ~4 from (25/287)\\*(5626 frame pairs)\\*(4.6s per frame pair).  Not sure I understand that 25/287, though.  To my eye, the full width of the dip in your plot looks to be closer to 40 or 50 units of x-axis, and the x-axis only goes up to about 180 or so.  Is 287 maybe a typo, where you meant to say 187?  ",
      "votes": 2,
      "replies": [
        {
          "id": 3244204,
          "postDate": "2025-07-08T00:16:36.417Z",
          "content": "<p>Yes, sorry that should have been 25/187, and yes, 40 or 50 units wide is probably more accurate.<br>\nI was looking at this statement from the Data page:<br>\n<code>Each file contains 11,250 rows of images captured at constant time steps noted in axis_info.parquet</code><br>\nNow that I see the column AIRS-CH0-integration_time, what you say makes perfect sense.  I was looking at AIRS-CH0-axis0-h, thinking that was the time of each readout (they increase monotonically).  So I wonder what the 2 axis0-h columns are?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F85e7391c3fbd473a4da2b72eb077da25%2FScreenshot%202025-07-07%20at%208.08.49PM.png?generation=1751933914404779&amp;alt=media\" alt=\"\"><br>\nAnd if you take the 135,000 FGS1 readings x 0.2s, you get .30 days, matching the AIRS-CH0 sensor.  The Data page says 0.1 s time steps, so there is still something confusing me there.</p>\n<p>Thanks for clearing things up.</p>",
          "rawMarkdown": "Yes, sorry that should have been 25/187, and yes, 40 or 50 units wide is probably more accurate.\nI was looking at this statement from the Data page:\n`Each file contains 11,250 rows of images captured at constant time steps noted in axis_info.parquet `\nNow that I see the column AIRS-CH0-integration_time, what you say makes perfect sense.  I was looking at AIRS-CH0-axis0-h, thinking that was the time of each readout (they increase monotonically).  So I wonder what the 2 axis0-h columns are?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F85e7391c3fbd473a4da2b72eb077da25%2FScreenshot%202025-07-07%20at%208.08.49PM.png?generation=1751933914404779&alt=media)\nAnd if you take the 135,000 FGS1 readings x 0.2s, you get .30 days, matching the AIRS-CH0 sensor.  The Data page says 0.1 s time steps, so there is still something confusing me there.\n\nThanks for clearing things up.",
          "replies": [
            {
              "id": 3244208,
              "postDate": "2025-07-08T00:24:36.590Z",
              "content": "<p><code>&lt;Realize col2 is units of um&gt;</code><br>\n<code>&lt;hit head on table&gt;</code><br>\nThat first column ** is** the sample time, and units are hours (-h!).  The time between row 4 and 2 (due to double sampling) is 4.7988 sec, so there is a little extra than the .1+4.5.</p>",
              "rawMarkdown": "`<Realize col2 is units of um>`\n`<hit head on table>`\nThat first column ** is** the sample time, and units are hours (-h!).  The time between row 4 and 2 (due to double sampling) is 4.7988 sec, so there is a little extra than the .1+4.5.",
              "votes": 2
            },
            {
              "id": 3244209,
              "postDate": "2025-07-08T00:27:52.360Z",
              "content": "<p>and 7.5 hours is .31 days, the length of the full time series.  FGS1 has the same 7.5 hour total time as well.  Phew</p>",
              "rawMarkdown": "and 7.5 hours is .31 days, the length of the full time series.  FGS1 has the same 7.5 hour total time as well.  Phew",
              "votes": 2
            },
            {
              "id": 3244525,
              "postDate": "2025-07-08T08:08:58.493Z",
              "content": "<p>Sorry for my late reply but yes you are exactly right. The total duration is 7.5 hours for both AIRS and FGS1. It seems to me that the lightcurve is a bit off - best to check that one out. </p>",
              "rawMarkdown": "Sorry for my late reply but yes you are exactly right. The total duration is 7.5 hours for both AIRS and FGS1. It seems to me that the lightcurve is a bit off - best to check that one out. ",
              "votes": 3
            },
            {
              "id": 3244660,
              "postDate": "2025-07-08T11:15:57.153Z",
              "content": "<p>What do you mean by a little bit off?  I used your provided calibration code (Calibrating and Binning Ariel Data), and summed the peak position channel:  <code>signal[:,:,16].sum(axis=1)</code>.  It is binned in time the default amount (30?).</p>",
              "rawMarkdown": "What do you mean by a little bit off?  I used your provided calibration code (Calibrating and Binning Ariel Data), and summed the peak position channel:  `signal[:,:,16].sum(axis=1)`.  It is binned in time the default amount (30?)."
            },
            {
              "id": 3244664,
              "postDate": "2025-07-08T11:24:55.163Z",
              "content": "<p>Hmm, this looks better when I use all the position channels<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2Fef2a15a8c05594e14da0b86a0c92590e%2FScreenshot%202025-07-08%20at%207.23.30AM.png?generation=1751973886291907&amp;alt=media\" alt=\"image\"></p>",
              "rawMarkdown": "Hmm, this looks better when I use all the position channels\n![image](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2Fef2a15a8c05594e14da0b86a0c92590e%2FScreenshot%202025-07-08%20at%207.23.30AM.png?generation=1751973886291907&alt=media)",
              "votes": 1
            },
            {
              "id": 3244799,
              "postDate": "2025-07-08T15:44:22.650Z",
              "content": "<p>Lol, I had been reading that \"-h\" as \"height\" -- the fact that it's hours and the insight that there's apparently almost 0.2 seconds of idle time between each pair of AIRS reads clears up a question that I had about the alignment between the AIRS and FGS reads.  Thanks!</p>",
              "rawMarkdown": "Lol, I had been reading that \"-h\" as \"height\" -- the fact that it's hours and the insight that there's apparently almost 0.2 seconds of idle time between each pair of AIRS reads clears up a question that I had about the alignment between the AIRS and FGS reads.  Thanks!"
            },
            {
              "id": 3262597,
              "postDate": "2025-08-04T00:19:48.770Z",
              "content": "<p>Thanks for sharing this realization about the hour unit! I could not figure out what was going on.</p>",
              "rawMarkdown": "Thanks for sharing this realization about the hour unit! I could not figure out what was going on."
            },
            {
              "id": 3294024,
              "postDate": "2025-09-25T08:07:42.487Z",
              "content": "<p><a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Coming back to this discussion. My private score started to be 0.000 when I switched to time units in days instead of time indices (to be aligned with time units of stellar parameters). I'm rerunning my notebook with indices to cross-check. But maybe you could already confirm that on private dataset the observation time is still 7.5 hours as in train and public data? Or it is different? I used in particular the orbital period P as a prior in my approach</p>",
              "rawMarkdown": "@gordonyip Coming back to this discussion. My private score started to be 0.000 when I switched to time units in days instead of time indices (to be aligned with time units of stellar parameters). I'm rerunning my notebook with indices to cross-check. But maybe you could already confirm that on private dataset the observation time is still 7.5 hours as in train and public data? Or it is different? I used in particular the orbital period P as a prior in my approach"
            },
            {
              "id": 3294028,
              "postDate": "2025-09-25T08:17:12.333Z",
              "content": "<p>I also used the 7.5 hours, but as some of my submissions are still good, I believe this isn't different in test. Also, hosts confirmed multiple times that there is no intentional difference between public and private test set. </p>\n<p>I think just a single or a few very badly fitted samples (and too high confidence on them) for both of us.</p>",
              "rawMarkdown": "I also used the 7.5 hours, but as some of my submissions are still good, I believe this isn't different in test. Also, hosts confirmed multiple times that there is no intentional difference between public and private test set. \n\nI think just a single or a few very badly fitted samples (and too high confidence on them) for both of us.",
              "votes": 1
            },
            {
              "id": 3294040,
              "postDate": "2025-09-25T08:46:24.653Z",
              "content": "<p>Ah, <a href=\"https://www.kaggle.com/ilu000\" target=\"_blank\">@ilu000</a> , sorry to hear you also have a big drop on the private LB :(</p>",
              "rawMarkdown": "Ah, @ilu000 , sorry to hear you also have a big drop on the private LB :("
            }
          ]
        },
        {
          "id": 3244730,
          "postDate": "2025-07-08T13:29:56.860Z",
          "content": "<p>If I take the transit duration you computed t~0.12 days and compare it with a visual estimation (40 / 187) * (7.5 / 24) ~ 0.067 days, there is a factor 2 error. Do you know how to explain it ? </p>",
          "rawMarkdown": "If I take the transit duration you computed t~0.12 days and compare it with a visual estimation (40 / 187) * (7.5 / 24) ~ 0.067 days, there is a factor 2 error. Do you know how to explain it ? ",
          "isDeleted": true,
          "replies": [
            {
              "id": 3244812,
              "postDate": "2025-07-08T15:57:35.510Z",
              "content": "<p>I still consider this an open question.  Could be as simple as fat finger error in my calculation of t~0.12 days.  Could be I'm using the wrong formula or neglecting a factor that I shouldn't. Could be something I am misinterpreting about the units of the stellar parameters.  Could be something we don't understand about the light curve.</p>\n<p>My t~0.12 days estimate assumes that the planet's radius is negligibly small compared to the star.  It's worth revisiting because, if that assumption is violated, the bottom of the transit dip would be narrower than the top.  If I'm doing the math right, a huge planet with radius Rp~0.2*Rs would make the bottom of the dip (T_{full} in Winn's notation) on the order of the 40 time bins you estimate.  But this would also mean that the top of the dip, T_{tot}, would be like 90-ish time bins and the sides would have a much softer slope…I have a hard time seeing that in the plot no matter how hard I squint, so right now it's hard for me to make a case that this explains the missing factor of two.</p>",
              "rawMarkdown": "I still consider this an open question.  Could be as simple as fat finger error in my calculation of t~0.12 days.  Could be I'm using the wrong formula or neglecting a factor that I shouldn't. Could be something I am misinterpreting about the units of the stellar parameters.  Could be something we don't understand about the light curve.\n\nMy t~0.12 days estimate assumes that the planet's radius is negligibly small compared to the star.  It's worth revisiting because, if that assumption is violated, the bottom of the transit dip would be narrower than the top.  If I'm doing the math right, a huge planet with radius Rp~0.2*Rs would make the bottom of the dip (T_{full} in Winn's notation) on the order of the 40 time bins you estimate.  But this would also mean that the top of the dip, T_{tot}, would be like 90-ish time bins and the sides would have a much softer slope...I have a hard time seeing that in the plot no matter how hard I squint, so right now it's hard for me to make a case that this explains the missing factor of two."
            },
            {
              "id": 3245010,
              "postDate": "2025-07-08T18:27:44.630Z",
              "content": "<p>Gotta add another maybe to the list:  I notice that all the values for eccentricity in train_star_info.csv are 0.  Does anyone know if the data were actually all simulated with circular orbits?  Because I get the sense that if the planet in this example were on a very highly eccentric orbit, that could explain the difference between the prediction and the transit duration we're eyeballing from the plot.</p>",
              "rawMarkdown": "Gotta add another maybe to the list:  I notice that all the values for eccentricity in train_star_info.csv are 0.  Does anyone know if the data were actually all simulated with circular orbits?  Because I get the sense that if the planet in this example were on a very highly eccentric orbit, that could explain the difference between the prediction and the transit duration we're eyeballing from the plot.",
              "votes": 3
            }
          ]
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 3252201,
      "author_name": "c-number",
      "author_url": "",
      "post_date": "2025-07-22T07:41:12.533000",
      "content": "<p>Has anyone been able to confirm this for the new train data?<br>\nI tried but failed, so I'm doubting there's a bug in my code.</p>",
      "votes": 3,
      "replies": [
        {
          "id": 3252275,
          "author_name": "Pascal Pfeiffer",
          "author_url": "",
          "post_date": "2025-07-22T11:01:58.763000",
          "content": "<p>negative, <br>\nI always find planets where it doesn't fit the formula. There is also no fixed scaling or offset, so I am wondering as well what may be causing this.</p>\n<blockquote>\n  <p>We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration)</p>\n</blockquote>\n<p>But maybe just this, and some values in the dataset are just wrong. </p>",
          "votes": 0,
          "replies": [
            {
              "id": 3252323,
              "author_name": "CPMP",
              "author_url": "",
              "post_date": "2025-07-22T13:08:41.717000",
              "content": "<p>Same, provided values don't match estimated time span from data.</p>\n<p>I hope we are not headed to a third version of the dataset.</p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 3252324,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-07-22T13:18:08.800000",
              "content": "<p>Hi all, thank you for the question , to clarify, the provided quantities in the train_star_info.csv table contains noise hence it should not match the observed duration (if we are talking about the transit duration), but it should not be too far off, treat that as an approximation rather than the ground truth though!</p>",
              "votes": 5,
              "replies": []
            },
            {
              "id": 3252328,
              "author_name": "CPMP",
              "author_url": "",
              "post_date": "2025-07-22T13:21:45.780000",
              "content": "<p><a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Thanks for the confirmation. </p>\n<p>It would be good to have the std error for the values in the table. You ask us to provide std errors, but you don't do it yourself :D</p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 3252352,
              "author_name": "Horikita Saku",
              "author_url": "",
              "post_date": "2025-07-22T14:13:02.047000",
              "content": "<p><a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Thank you very much for your confirmation. That's why I gave up using star info to detect transit</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3252368,
              "author_name": "c-number",
              "author_url": "",
              "post_date": "2025-07-22T14:50:24.437000",
              "content": "<p>Okay, I now understand that there is a noise added to the star_info.csv parameters.<br>\nHowever, I'm still having trouble matching the transit duration calculated with AIRS-CH0 and FGS1 observations.<br>\nAre they supposed to match, except for the difference in planet radius?<br>\nMy analysis code says that for some planets the transit lengths do not match, even when taking the planet radius error into account..</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3252375,
              "author_name": "",
              "author_url": "",
              "post_date": "2025-07-22T15:08:57.487000",
              "content": "",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3252377,
              "author_name": "DennisSakva",
              "author_url": "",
              "post_date": "2025-07-22T15:10:32.877000",
              "content": "<p>The formula you’re using provides an upper bound for transit duration assuming a circular orbit with an inclination of 90 degrees. However, in reality, the orbital inclination can be less than 90°, meaning the planet may only graze the edge of the star, resulting in a much shorter transit. Additionally, if the orbit is elliptical, the actual transit duration can be either longer or shorter than predicted by the circular model, depending on the orbital eccentricity and the orientation of the ellipse.<br>\nAlso, in your calculations you seem to ignore 30x binning which is applied by default and which averages 30 consequite frames for AIRS and 30*12 for FGS.<br>\nHope this helps.</p>",
              "votes": 2,
              "replies": []
            },
            {
              "id": 3252378,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-07-22T15:20:15.207000",
              "content": "<p>have you accounted for the geometric effect ? if so, the formula should be… <br>\nt_14 = (period / (pi * a_in_stellar_radii)) * sqrt((1 + planet_radius/stellar_radius)^2 - impact_parameter^2)</p>",
              "votes": 4,
              "replies": []
            },
            {
              "id": 3252402,
              "author_name": "Horikita Saku",
              "author_url": "",
              "post_date": "2025-07-22T16:28:12.253000",
              "content": "<p>Since we don't know the exact value of <strong>planet_radius / stellar_radius</strong>, I estimated it using <strong>sqrt(dip)</strong></p>\n<p>Using the formula:</p>\n<p>$$<br>\nt_{14} = \\frac{\\text{period}}{\\pi \\cdot a/R_s} \\cdot \\sqrt{(1 + R_p/R_s)^2 - b^2}<br>\n$$</p>\n<p>I approximate the <strong>impact parameter</strong><code>b</code> as:</p>\n<p>$$<br>\nb = \\text{sma}_\\text{Rs} \\cdot \\cos(i)<br>\n$$</p>\n<p><code>i</code> is the orbital inclination in degrees.</p>\n<p>My analysis results are approximately as follows:</p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2Ffa9162905ffe45c4e7e5a54c09e97b7d%2F2af92a6ed5272e242dbba169d980b144.png?generation=1753201022145370&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F9f2fc9f612074ea5d5e88fd8936ee111%2F75a1526f79df629a03ef59be1169c990.png?generation=1753201030824329&amp;alt=media\" alt=\"\"></p>\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F84518be2f4c69dbbc17c68ee3f9abb08%2F451f7cae-ed33-4d37-8c0a-8acded17fd50.png?generation=1753201285364436&amp;alt=media\" alt=\"\"></p>\n<hr>\n<p>I'm not sure if my analysis is correct, but there are indeed quite a few deviations?<br>\nWhat about the analyses of others?<br>\n<a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Do you think this looks normal?</p>",
              "votes": 4,
              "replies": []
            },
            {
              "id": 3252646,
              "author_name": "Horikita Saku",
              "author_url": "",
              "post_date": "2025-07-23T06:08:19.403000",
              "content": "<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F11676771%2F073acc720210af04ce4a7727a66b3444%2Fdownload.png?generation=1753250819079127&amp;alt=media\" alt=\"\"></p>\n<p>Also, for comparison, this is the case using <code>2*R_star/(2*pi*R_orbit)*orbit_period</code>. I think the degree of deviations is greater?</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3252772,
              "author_name": "CPMP",
              "author_url": "",
              "post_date": "2025-07-23T11:32:42.603000",
              "content": "<p>For what it's worth, I have very close figures, esp the one before last.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3264379,
              "author_name": "CKL",
              "author_url": "",
              "post_date": "2025-08-06T14:40:36.337000",
              "content": "<p>Hi, your analysis is very insightful! May I ask if you could describe in more detail how a and b are calculated?</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3264606,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-08-06T18:49:00.727000",
              "content": "<p>I have similar results, that is, that the duration of the transit corresponds approximately with the expected duration from provided P and sma values.  However, after realizing that transit depth is approx (Rp/Rs)**2, you can compute a density of the planet given the provided Mp (Mass of planet in earth masses).<br>\nUsing </p>\n<pre><code> = *      \n = e8    \n = math.sqrt(row.delta)            \n = /*pi*(Rp_delta*Rs*Rsolar)**   \n = Mp*e24/V       \n</code></pre>\n<p>For the first planet, delta=.019, Rp=sqrt(delta)=.138 and<br>\ncomputed density = 0.711<br>\nEarth's density is 5515 kg/m3 - Are planets 7700x less dense than Earth?<br>\nThe other planets have similar densities in the range of .12 to 2 kg/m^3<br>\nIs the Mp provided way off, or perhaps in different units than Earth mass?</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3264741,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-08-06T21:18:51.787000",
              "content": "<p>Thanks for catching this! There is an error in the data description, it should be in Jupiter mass unit! I will get it changed shortly. </p>",
              "votes": 4,
              "replies": []
            },
            {
              "id": 3264746,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-08-06T21:20:51.973000",
              "content": "<p>Wow Jupiter&gt;&gt;Earth!</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3266354,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-08-08T21:02:52.460000",
              "content": "<p>Maybe you should change the symbol next to the Jupiter Mass to M♃  😃</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3266357,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-08-08T21:17:54.537000",
              "content": "<p>Indeed! Will do that </p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 3276841,
              "author_name": "sroger",
              "author_url": "",
              "post_date": "2025-08-26T23:55:00.947000",
              "content": "<p>What is \"a_in_stellar_radii\" here?<br>\nedit: nvm figured it out, its sma</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3245573,
      "author_name": "Gordon Yip",
      "author_url": "",
      "post_date": "2025-07-09T14:57:51.333000",
      "content": "<p>Hi everyone, <br>\nthank you for bringing up this issue. We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration), we are currently looking into the issue. Thanks for the great discussion. Please keep it up! </p>\n<p>it should not affect the game as the goal is to get the transit depth, which is not dependent on the duration.</p>",
      "votes": 4,
      "replies": [
        {
          "id": 3245634,
          "author_name": "particlebbq",
          "author_url": "",
          "post_date": "2025-07-09T15:56:45.277000",
          "content": "<p>Thanks for confirming!   </p>\n<p>A follow-up question:  for the exoplanet systems that Ariel will study, do you expect that there will be independent estimates of orbital parameters based on other measurements?  I ask because some models might benefit from external constraints like a predicted value for the transit duration (or even a signal parameterization in terms of one or two missing orbital parameters)…but if the parameters needed for such constraints aren't likely to be available, then that sort of approach is impractical.</p>",
          "votes": 0,
          "replies": [
            {
              "id": 3252327,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-07-22T13:21:45.190000",
              "content": "<p>Hi sorry for the late reply here - yes for some parameters Ariel will have independent estimates of them, most of them are provided in train_star_info.csv, they are independent estimates of the system but contains noise, so they are not 100% accuracy, this move is to simulate the real life scenario where we will not have exact measurement of the system </p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 3252928,
              "author_name": "particlebbq",
              "author_url": "",
              "post_date": "2025-07-23T17:34:01.673000",
              "content": "<p>Great to know -- thank you!</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3245582,
      "author_name": "Gordon Yip",
      "author_url": "",
      "post_date": "2025-07-09T15:07:02.940000",
      "content": "<p>btw you might want to check your lightcurve above - it doesnt look <code>normal</code></p>",
      "votes": 1,
      "replies": [
        {
          "id": 3245606,
          "author_name": "SolverWorld",
          "author_url": "",
          "post_date": "2025-07-09T15:26:12.553000",
          "content": "<p>Does this look better?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2Fd9491fdfa81f7311fa1d9d3a42683582%2FScreenshot%202025-07-08%20at%207.23.30AM.png?generation=1752074749301887&amp;alt=media\" alt=\"corrected lightcurve\"></p>",
          "votes": 0,
          "replies": [
            {
              "id": 3252326,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-07-22T13:18:30.983000",
              "content": "<p>yes it does!</p>",
              "votes": 1,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 3244176,
      "author_name": "particlebbq",
      "author_url": "",
      "post_date": "2025-07-07T22:38:07.960000",
      "content": "<p>I'm under the impression that the axis_info.parquet file has the time in units of seconds, but I think maybe you've grabbed the wrong column by accident?  My understanding is that the AIRS-ch0 sensor captures 11250 frames, with alternating collection times of 0.1s and 4.5s.  Assuming no pause in between each 0.1s+4.5s pair, that's something like 0.3 days for the full scan.  That time scale makes sense if a typical transit is of the same order of magnitude as the 0.17 days you compute.</p>\n<p>Another possible contribution to the difference you see:  I think the formula you've used to estimate that 0.17 days may be assuming zero impact parameter,  whereas the example you're looking at has an inclination of about 87 degrees.  So the actual transit is probably shorter than 0.17 days because it has a nonzero impact parameter, i.e. the path of the planet is only a chord on the circle of the star, rather than a diameter.  If I'm reading <a href=\"https://arxiv.org/pdf/1001.2010v5\" target=\"_blank\">Winn's paper</a> right, eq.7 can give you an estimate of the impact parameter.  If we knew the radius of the planet (or if we assume it's negligible), we could probably plug that into eqs. 14 or 15 (also eq 16, for cases with nonzero eccentricity) to get an estimate of the transit time.</p>\n<p>If I plug numbers into eqs. 7 and 14, I get an impact parameter of about 0.7 and a transit duration of ~0.12 days, or about 10k seconds.  This is still off by a factor of ~4 from (25/287)*(5626 frame pairs)*(4.6s per frame pair).  Not sure I understand that 25/287, though.  To my eye, the full width of the dip in your plot looks to be closer to 40 or 50 units of x-axis, and the x-axis only goes up to about 180 or so.  Is 287 maybe a typo, where you meant to say 187?  </p>",
      "votes": 2,
      "replies": [
        {
          "id": 3244204,
          "author_name": "SolverWorld",
          "author_url": "",
          "post_date": "2025-07-08T00:16:36.417000",
          "content": "<p>Yes, sorry that should have been 25/187, and yes, 40 or 50 units wide is probably more accurate.<br>\nI was looking at this statement from the Data page:<br>\n<code>Each file contains 11,250 rows of images captured at constant time steps noted in axis_info.parquet</code><br>\nNow that I see the column AIRS-CH0-integration_time, what you say makes perfect sense.  I was looking at AIRS-CH0-axis0-h, thinking that was the time of each readout (they increase monotonically).  So I wonder what the 2 axis0-h columns are?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F85e7391c3fbd473a4da2b72eb077da25%2FScreenshot%202025-07-07%20at%208.08.49PM.png?generation=1751933914404779&amp;alt=media\" alt=\"\"><br>\nAnd if you take the 135,000 FGS1 readings x 0.2s, you get .30 days, matching the AIRS-CH0 sensor.  The Data page says 0.1 s time steps, so there is still something confusing me there.</p>\n<p>Thanks for clearing things up.</p>",
          "votes": 0,
          "replies": [
            {
              "id": 3244208,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-07-08T00:24:36.590000",
              "content": "<p><code>&lt;Realize col2 is units of um&gt;</code><br>\n<code>&lt;hit head on table&gt;</code><br>\nThat first column ** is** the sample time, and units are hours (-h!).  The time between row 4 and 2 (due to double sampling) is 4.7988 sec, so there is a little extra than the .1+4.5.</p>",
              "votes": 2,
              "replies": []
            },
            {
              "id": 3244209,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-07-08T00:27:52.360000",
              "content": "<p>and 7.5 hours is .31 days, the length of the full time series.  FGS1 has the same 7.5 hour total time as well.  Phew</p>",
              "votes": 2,
              "replies": []
            },
            {
              "id": 3244525,
              "author_name": "Gordon Yip",
              "author_url": "",
              "post_date": "2025-07-08T08:08:58.493000",
              "content": "<p>Sorry for my late reply but yes you are exactly right. The total duration is 7.5 hours for both AIRS and FGS1. It seems to me that the lightcurve is a bit off - best to check that one out. </p>",
              "votes": 3,
              "replies": []
            },
            {
              "id": 3244660,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-07-08T11:15:57.153000",
              "content": "<p>What do you mean by a little bit off?  I used your provided calibration code (Calibrating and Binning Ariel Data), and summed the peak position channel:  <code>signal[:,:,16].sum(axis=1)</code>.  It is binned in time the default amount (30?).</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3244664,
              "author_name": "SolverWorld",
              "author_url": "",
              "post_date": "2025-07-08T11:24:55.163000",
              "content": "<p>Hmm, this looks better when I use all the position channels<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2Fef2a15a8c05594e14da0b86a0c92590e%2FScreenshot%202025-07-08%20at%207.23.30AM.png?generation=1751973886291907&amp;alt=media\" alt=\"image\"></p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 3244799,
              "author_name": "particlebbq",
              "author_url": "",
              "post_date": "2025-07-08T15:44:22.650000",
              "content": "<p>Lol, I had been reading that \"-h\" as \"height\" -- the fact that it's hours and the insight that there's apparently almost 0.2 seconds of idle time between each pair of AIRS reads clears up a question that I had about the alignment between the AIRS and FGS reads.  Thanks!</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3262597,
              "author_name": "Lucas Corcodilos",
              "author_url": "",
              "post_date": "2025-08-04T00:19:48.770000",
              "content": "<p>Thanks for sharing this realization about the hour unit! I could not figure out what was going on.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3294024,
              "author_name": "Oleh Kivernyk",
              "author_url": "",
              "post_date": "2025-09-25T08:07:42.487000",
              "content": "<p><a href=\"https://www.kaggle.com/gordonyip\" target=\"_blank\">@gordonyip</a> Coming back to this discussion. My private score started to be 0.000 when I switched to time units in days instead of time indices (to be aligned with time units of stellar parameters). I'm rerunning my notebook with indices to cross-check. But maybe you could already confirm that on private dataset the observation time is still 7.5 hours as in train and public data? Or it is different? I used in particular the orbital period P as a prior in my approach</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3294028,
              "author_name": "Pascal Pfeiffer",
              "author_url": "",
              "post_date": "2025-09-25T08:17:12.333000",
              "content": "<p>I also used the 7.5 hours, but as some of my submissions are still good, I believe this isn't different in test. Also, hosts confirmed multiple times that there is no intentional difference between public and private test set. </p>\n<p>I think just a single or a few very badly fitted samples (and too high confidence on them) for both of us.</p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 3294040,
              "author_name": "Oleh Kivernyk",
              "author_url": "",
              "post_date": "2025-09-25T08:46:24.653000",
              "content": "<p>Ah, <a href=\"https://www.kaggle.com/ilu000\" target=\"_blank\">@ilu000</a> , sorry to hear you also have a big drop on the private LB :(</p>",
              "votes": 0,
              "replies": []
            }
          ]
        },
        {
          "id": 3244730,
          "author_name": "",
          "author_url": "",
          "post_date": "2025-07-08T13:29:56.860000",
          "content": "<p>If I take the transit duration you computed t~0.12 days and compare it with a visual estimation (40 / 187) * (7.5 / 24) ~ 0.067 days, there is a factor 2 error. Do you know how to explain it ? </p>",
          "votes": 0,
          "replies": [
            {
              "id": 3244812,
              "author_name": "particlebbq",
              "author_url": "",
              "post_date": "2025-07-08T15:57:35.510000",
              "content": "<p>I still consider this an open question.  Could be as simple as fat finger error in my calculation of t~0.12 days.  Could be I'm using the wrong formula or neglecting a factor that I shouldn't. Could be something I am misinterpreting about the units of the stellar parameters.  Could be something we don't understand about the light curve.</p>\n<p>My t~0.12 days estimate assumes that the planet's radius is negligibly small compared to the star.  It's worth revisiting because, if that assumption is violated, the bottom of the transit dip would be narrower than the top.  If I'm doing the math right, a huge planet with radius Rp~0.2*Rs would make the bottom of the dip (T_{full} in Winn's notation) on the order of the 40 time bins you estimate.  But this would also mean that the top of the dip, T_{tot}, would be like 90-ish time bins and the sides would have a much softer slope…I have a hard time seeing that in the plot no matter how hard I squint, so right now it's hard for me to make a case that this explains the missing factor of two.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 3245010,
              "author_name": "particlebbq",
              "author_url": "",
              "post_date": "2025-07-08T18:27:44.630000",
              "content": "<p>Gotta add another maybe to the list:  I notice that all the values for eccentricity in train_star_info.csv are 0.  Does anyone know if the data were actually all simulated with circular orbits?  Because I get the sense that if the planet in this example were on a very highly eccentric orbit, that could explain the difference between the prediction and the transit duration we're eyeballing from the plot.</p>",
              "votes": 3,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "3243269": "Looking at the physics of a planetary transit, it seems that the transit time should be approximately\n`2*R_star/(2*pi*R_orbit)*orbit_period`\nbecause this is the fraction of the time that the planet could be in front of the star (assuming a planet small in comparison to the star and the observer far away).  It could be less than this if the orbital plane is tilted such that the planet transits closer to an edge of the star, but this is a good starting point.\nLooking at one planet_id:\n```\nRs        1.250623\nMs        1.162019\nTs     6023.702622\nMp        2.262107\ne         0.000000\nP         7.541019\nsma      14.144310\ni        87.178007\nName: 8456603, dtype: float64\n```\nI compute a transit time of 0.17 days or 14,688 sec.\nThe transit graph looks like this, with a transit time of roughly 25/287*7.5 = 0.65 sec where the entire AIRS-CH0 scan is 7.5 seconds (from axis_info).  I'm off by almost 24,000x.\nAre the units in the axis_info file not in seconds? \nThe introduction to the competition says the FGS1 channel time is .1s per time step, but the axis_info file says .00011 per time step, so perhaps the units are confused somewhere?\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F651278%2F970175570a252e08679b56e80ccfc330%2FScreenshot%202025-07-06%20at%208.34.49PM.png?generation=1751848571988419&alt=media)\n",
    "3252201": "Has anyone been able to confirm this for the new train data?\nI tried but failed, so I'm doubting there's a bug in my code.",
    "3245573": "Hi everyone, \nthank you for bringing up this issue. We have been looking into the dataset, and found the same peculiarity in the data. (measured transit duration not consistent with the computed duration), we are currently looking into the issue. Thanks for the great discussion. Please keep it up! \n\nit should not affect the game as the goal is to get the transit depth, which is not dependent on the duration.",
    "3245582": "btw you might want to check your lightcurve above - it doesnt look `normal`",
    "3244176": "I'm under the impression that the axis_info.parquet file has the time in units of seconds, but I think maybe you've grabbed the wrong column by accident?  My understanding is that the AIRS-ch0 sensor captures 11250 frames, with alternating collection times of 0.1s and 4.5s.  Assuming no pause in between each 0.1s+4.5s pair, that's something like 0.3 days for the full scan.  That time scale makes sense if a typical transit is of the same order of magnitude as the 0.17 days you compute.\n  \nAnother possible contribution to the difference you see:  I think the formula you've used to estimate that 0.17 days may be assuming zero impact parameter,  whereas the example you're looking at has an inclination of about 87 degrees.  So the actual transit is probably shorter than 0.17 days because it has a nonzero impact parameter, i.e. the path of the planet is only a chord on the circle of the star, rather than a diameter.  If I'm reading [Winn's paper](https://arxiv.org/pdf/1001.2010v5) right, eq.7 can give you an estimate of the impact parameter.  If we knew the radius of the planet (or if we assume it's negligible), we could probably plug that into eqs. 14 or 15 (also eq 16, for cases with nonzero eccentricity) to get an estimate of the transit time.\n\nIf I plug numbers into eqs. 7 and 14, I get an impact parameter of about 0.7 and a transit duration of ~0.12 days, or about 10k seconds.  This is still off by a factor of ~4 from (25/287)\\*(5626 frame pairs)\\*(4.6s per frame pair).  Not sure I understand that 25/287, though.  To my eye, the full width of the dip in your plot looks to be closer to 40 or 50 units of x-axis, and the x-axis only goes up to about 180 or so.  Is 287 maybe a typo, where you meant to say 187?  "
  }
}