Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-18052

Calculate the gains for the AuxTel sensor

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Deliverable are the gains for the AuxTel sensor in its current configuration. Just a dict of the amp names and the gain values is fine.

      There is already at least one, if not two tasks in the stack which can run a basic PTC analysis. The one in cp_pipe will need slight tweaking to not fit a straight line to an obviously (at least) quadratic function, and take the linear coefficient for the gain, but that should be quite easy.

      This might involve getting the LATISS lab-folk to acquire and transfer the necessary data.

        Attachments

        1. gains_auxtel.py
          13 kB
        2. image-2019-04-22-19-45-40-580.png
          image-2019-04-22-19-45-40-580.png
          197 kB
        3. image-2019-04-22-19-48-00-560.png
          image-2019-04-22-19-48-00-560.png
          27 kB
        4. PTC_auxTel_accs_2019SEP05.pdf
          95 kB
        5. PTC_auxTel_ACCS_2019SEP15.pdf
          95 kB
        6. ptcData-auxTel_accs_2019SEP05.pkl
          12 kB
        7. ptc-shape-v2.1.pdf
          1.78 MB

          Issue Links

            Activity

            Hide
            mfisherlevine Merlin Fisher-Levine added a comment -

            This is great, thanks. Do we have the exact gains in dictionary format?

            Show
            mfisherlevine Merlin Fisher-Levine added a comment - This is great, thanks. Do we have the exact gains in dictionary format?
            Hide
            plazas Andrés Alejandro Plazas Malagón added a comment -

            Yes! The code currently outputs gains and noise (and NL data) into a pkl file of the form "$OUTPUT_DIR/

            calibrations/ptc/ptcData-*.pkl"  ptcData-auxTel_accs_2019SEP05.pkl 

            From that, we can get: 

             

            {'gain': {'C10': (1.1911067257724672, 0.01599755832884883),

              'C11': (1.1686513607714393, 0.008662566976834827),

              'C12': (1.1338901056007622, 0.0038876055626803382),

              'C13': (0.9990674295908423, 0.03861424488779851),

              'C14': (1.0485895357003965, 0.02453192284144153),

              'C15': (1.097963555389069, 0.01059692231097079),

              'C16': (1.1148116010306466, 0.005922303858265093),

              'C17': (1.1565999310259265, 0.01171219557373404),

              'C07': (1.2354120941987556, 0.01481293483426904),

              'C06': (1.2385477683157942, 0.0132526263347617),

              'C05': (1.2256337102102828, 0.012385661910652334),

              'C04': (1.201337331467337, 0.007603226008190262),

              'C03': (1.1991589980401929, 0.007500882711093573),

              'C02': (1.202712463837218, 0.012568588828134084),

              'C01': (1.208462965832034, 0.015197932521104657),

              'C00': (1.2095018951784517, 0.013636024676852425)},

            'noise': {'C10': (18.815010876798656, 4.5208191964940845),

              'C11': (16.955041191567062, 3.007817213540805),

              'C12': (9.940714611172684, 2.394736134234343),

              'C13': (22.53673481054816, 10.787490890867176),

              'C14': (16.0836483669904, 9.852213584640712),

              'C15': (2.411140448454277, 27.81976325659762),

              'C16': (8.245661734655314, 4.325730244549337),

              'C17': (18.89908075407153, 3.5029059182182705),

              'C07': (19.573871395405178, 4.090700326393026),

              'C06': (21.287224014649894, 3.6737704185238136),

              'C05': (21.404222421957847, 3.620935624643844),

              'C04': (18.488528814950616, 2.5367124800058782),

              'C03': (17.352553108662466, 2.543603551077959),

              'C02': (18.491993169738482, 3.8541856433486363),

              'C01': (19.50526157283955, 4.256039805846565),

              'C00': (17.682873173523316, 3.845078430765022)} } 

             

            Show
            plazas Andrés Alejandro Plazas Malagón added a comment - Yes! The code currently outputs gains and noise (and NL data) into a pkl file of the form "$OUTPUT_DIR/ calibrations/ptc/ptcData-*.pkl"   ptcData-auxTel_accs_2019SEP05.pkl   From that, we can get:    {'gain': {'C10': (1.1911067257724672, 0.01599755832884883),   'C11': (1.1686513607714393, 0.008662566976834827),   'C12': (1.1338901056007622, 0.0038876055626803382),   'C13': (0.9990674295908423, 0.03861424488779851),   'C14': (1.0485895357003965, 0.02453192284144153),   'C15': (1.097963555389069, 0.01059692231097079),   'C16': (1.1148116010306466, 0.005922303858265093),   'C17': (1.1565999310259265, 0.01171219557373404),   'C07': (1.2354120941987556, 0.01481293483426904),   'C06': (1.2385477683157942, 0.0132526263347617),   'C05': (1.2256337102102828, 0.012385661910652334),   'C04': (1.201337331467337, 0.007603226008190262),   'C03': (1.1991589980401929, 0.007500882711093573),   'C02': (1.202712463837218, 0.012568588828134084),   'C01': (1.208462965832034, 0.015197932521104657),   'C00': (1.2095018951784517, 0.013636024676852425)}, 'noise': {'C10': (18.815010876798656, 4.5208191964940845),   'C11': (16.955041191567062, 3.007817213540805),   'C12': (9.940714611172684, 2.394736134234343),   'C13': (22.53673481054816, 10.787490890867176),   'C14': (16.0836483669904, 9.852213584640712),   'C15': (2.411140448454277, 27.81976325659762),   'C16': (8.245661734655314, 4.325730244549337),   'C17': (18.89908075407153, 3.5029059182182705),   'C07': (19.573871395405178, 4.090700326393026),   'C06': (21.287224014649894, 3.6737704185238136),   'C05': (21.404222421957847, 3.620935624643844),   'C04': (18.488528814950616, 2.5367124800058782),   'C03': (17.352553108662466, 2.543603551077959),   'C02': (18.491993169738482, 3.8541856433486363),   'C01': (19.50526157283955, 4.256039805846565),   'C00': (17.682873173523316, 3.845078430765022)} }   
            Hide
            plazas Andrés Alejandro Plazas Malagón added a comment -

            Updated: Bias voltage (VBB) was of for dataset from 09/05/2019 (previous comment). A new data set was taken, with VBB= -50V (09/15/2019):  PTC_auxTel_ACCS_2019SEP15.pdf

            Slightly smaller gains due to less curvature at the high flux end. 

             

            {'gain': {'C10': (1.1143353888054162, 0.010790806113511606),

              'C11': (1.0744546074177885, 0.00077308781239113),

              'C12': (1.0885301740164992, 0.0006902327397118805),

              'C13': (1.089703493454284, 0.0020010075093248713),

              'C14': (1.081888949750466, 0.001872603331043035),

              'C15': (1.0789489121082785, 0.0026685476422665215),

              'C16': (1.0833228443624179, 0.002725282783754601),

              'C17': (1.0634827318445688, 0.002767693771596951),

              'C07': (1.1388561295242021, 0.006689679125010665),

              'C06': (1.124448381482941, 0.0020108050081614685),

              'C05': (1.113919870983015, 0.0011048677871096997),

              'C04': (1.1212999359248133, 0.002852389458886423),

              'C03': (1.1155481760543404, 0.0008904879741812307),

              'C02': (1.108154154093047, 0.0011902318887926577),

              'C01': (1.108331545692689, 0.002784571248999098),

              'C00': (1.1389994340482077, 0.009799276044876447)},

            'noise': {'C10': (13.902234503068572, 4.22696333305991),

              'C11': (6.511079355040778, 0.5439573597735232),

              'C12': (7.806434267533971, 0.4243591874403514),

              'C13': (8.317161349939449, 1.1904823477992506),

              'C14': (8.643653081811149, 1.0941772902638927),

              'C15': (9.234330845585403, 1.4390449346988023),

              'C16': (9.765224290898596, 1.3331551756415527),

              'C17': (11.060718137571559, 1.1388687466822283),

              'C07': (13.67226022480397, 2.7306600645928283),

              'C06': (11.053706222368097, 0.8443491240064802),

              'C05': (11.05966044973938, 0.48872123357050207),

              'C04': (11.481004892170144, 1.2275424932404813),

              'C03': (9.317974550458095, 0.46569508163206785),

              'C02': (7.783025266545098, 0.7264769099367956),

              'C01': (8.165556790901919, 1.5343541729339452),

              'C00': (14.279359246229477, 3.68588036800095)},

            Show
            plazas Andrés Alejandro Plazas Malagón added a comment - Updated: Bias voltage (VBB) was of for dataset from 09/05/2019 (previous comment). A new data set was taken, with VBB= -50V (09/15/2019):   PTC_auxTel_ACCS_2019SEP15.pdf Slightly smaller gains due to less curvature at the high flux end.    {'gain': {'C10': (1.1143353888054162, 0.010790806113511606),   'C11': (1.0744546074177885, 0.00077308781239113),   'C12': (1.0885301740164992, 0.0006902327397118805),   'C13': (1.089703493454284, 0.0020010075093248713),   'C14': (1.081888949750466, 0.001872603331043035),   'C15': (1.0789489121082785, 0.0026685476422665215),   'C16': (1.0833228443624179, 0.002725282783754601),   'C17': (1.0634827318445688, 0.002767693771596951),   'C07': (1.1388561295242021, 0.006689679125010665),   'C06': (1.124448381482941, 0.0020108050081614685),   'C05': (1.113919870983015, 0.0011048677871096997),   'C04': (1.1212999359248133, 0.002852389458886423),   'C03': (1.1155481760543404, 0.0008904879741812307),   'C02': (1.108154154093047, 0.0011902318887926577),   'C01': (1.108331545692689, 0.002784571248999098),   'C00': (1.1389994340482077, 0.009799276044876447)}, 'noise': {'C10': (13.902234503068572, 4.22696333305991),   'C11': (6.511079355040778, 0.5439573597735232),   'C12': (7.806434267533971, 0.4243591874403514),   'C13': (8.317161349939449, 1.1904823477992506),   'C14': (8.643653081811149, 1.0941772902638927),   'C15': (9.234330845585403, 1.4390449346988023),   'C16': (9.765224290898596, 1.3331551756415527),   'C17': (11.060718137571559, 1.1388687466822283),   'C07': (13.67226022480397, 2.7306600645928283),   'C06': (11.053706222368097, 0.8443491240064802),   'C05': (11.05966044973938, 0.48872123357050207),   'C04': (11.481004892170144, 1.2275424932404813),   'C03': (9.317974550458095, 0.46569508163206785),   'C02': (7.783025266545098, 0.7264769099367956),   'C01': (8.165556790901919, 1.5343541729339452),   'C00': (14.279359246229477, 3.68588036800095)},
            Hide
            plazas Andrés Alejandro Plazas Malagón added a comment -

            Merlin Fisher-Levine Can this be marked as done? 

            Show
            plazas Andrés Alejandro Plazas Malagón added a comment - Merlin Fisher-Levine Can this be marked as done? 
            Hide
            mfisherlevine Merlin Fisher-Levine added a comment -

            I think so, yes. But let's make a follow-on ticket to validate these if that's OK- could you file one, basically saying to use the gains from this ticket, and use it to correct a flatfield (or whatever we have that's closest to one in the configuration that this data was taken in) and check to see how good the continuity across amp bounaries is please? If you make me a watcher I'll comment/tweak etc if necessary.

            Show
            mfisherlevine Merlin Fisher-Levine added a comment - I think so, yes. But let's make a follow-on ticket to validate these if that's OK- could you file one, basically saying to use the gains from this ticket, and use it to correct a flatfield (or whatever we have that's closest to one in the configuration that this data was taken in) and check to see how good the continuity across amp bounaries is please? If you make me a watcher I'll comment/tweak etc if necessary.

              People

              Assignee:
              plazas Andrés Alejandro Plazas Malagón
              Reporter:
              mfisherlevine Merlin Fisher-Levine
              Reviewers:
              Merlin Fisher-Levine
              Watchers:
              Andrés Alejandro Plazas Malagón, John Swinbank, Merlin Fisher-Levine
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.