-
Type:
Task
-
-
Priority:
Normal
-
Resolution:
Done
-
Affects Version/s:
None
-
Fix Version/s:
None
-
Component/s:
None
-
AMBRE synthetic spectra are used for Yamashita-san's flux calibration, but their wavelengths are in air. They should be converted to those in vacuum.
[ambre_to_vacuum (Halpha).png]: You see the blue curve (AMBRE) has the H alpha line at 656.28 nm, which is in-air value. It should be at 656.46 nm, as in the red curve.
When λ_air is converted to λ_vacuum, the AMBRE synthetic spectra no longer have their sampling points at regular intervals. Down-sampling was formerly achieved by simply averaging neighboring bins, but it now needs a better resampling method. I interpolate the spectra with cubic splines, and integrate the cubic polynomials in each bin (scipy has this method).
I am not sure of this, but I assume that the AMBRE synthetic spectra are dE / dλ_air. It means that the spectra must be multiplied by dλ_air / dλ_vacuum.
[slant-bias.png]: Extrapolation (from 1200nm to 1300nm) was formerly done with a simple exponential function (black line). The red line is an AMBRE synthetic spectum to fit to. The pink region is not used in fitting, but is displayed for checking with eyes. You see that the fit would be improved with some slant bias c' + d'x (green dotted line), or the 2nd-order term in the exponential (blue line). I use the 2nd-order-term method (blue line) for extrapolation rather than the slant-bias method (green line) because the former involves fewer number of parameters.
[compare_5500_g_5_m_1_a_0.4.png] The new flux models look like the middle pane. You see that extrapolation is improved indeed, though most of the improvement is not due to the 2nd order term but to a better fitting algorithm.
The amplitude of the new flux models are 10^{32} times lower than the old ones because the new flux models are in erg/s/cm^2/Hz rather than nJy. I choose the former unit because the unit of flux models is not important anyway, and "10^{27}" as in the old flux models is so large that the values may be troublesome (flux^2 is infinity if flux is stored in float32).
I will replace the old fluxmodeldata package with the new one after I write a script to pre-compute broadband fluxes.
{"report":{"apdex":0.5,"isInitial":true,"journeyId":"05294c93-c4db-4545-a3db-8e9af9c0925b","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":3446.800000190735,"redirectCount":0,"resourceLoadedEnd":3267.300000190735,"resourceLoadedStart":815.7000007629395,"resourceTiming":[{"duration":16.699999809265137,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/6857d0cccf13aeaceb2c3277c6bf3892-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":815.7000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":815.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":832.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":28,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/4ca5cf1725eaa25a0e132608060337f8-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/53bc49863274d15a772d711431705c0c/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,jira.general,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":816,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":816,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":844,"responseStart":0,"secureConnectionStart":0},{"duration":30.199999809265137,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":816.2000007629395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":816.2000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":846.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":30.59999942779541,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/6f741955bf751f5684bb05515ecce171-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":816.4000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":816.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":847,"responseStart":0,"secureConnectionStart":0},{"duration":31,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/9b2891edfaa54fe476fe450e110e4428-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":816.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":816.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":847.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":2266.699999809265,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/71200f8ce5613e097dcbc84ab48f0df3-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":816.7000007629395,"connectEnd":816.7000007629395,"connectStart":816.7000007629395,"domainLookupEnd":816.7000007629395,"domainLookupStart":816.7000007629395,"fetchStart":816.7000007629395,"redirectEnd":0,"redirectStart":0,"requestStart":1456.7000007629395,"responseEnd":3083.4000005722046,"responseStart":1869.1000003814697,"secureConnectionStart":816.7000007629395},{"duration":2413.3999996185303,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/47d93b27a0f146b1bd3f1d197220131e-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/53bc49863274d15a772d711431705c0c/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,jira.general,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":816.9000005722046,"connectEnd":816.9000005722046,"connectStart":816.9000005722046,"domainLookupEnd":816.9000005722046,"domainLookupStart":816.9000005722046,"fetchStart":816.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":1650.5,"responseEnd":3230.300000190735,"responseStart":2049.1000003814697,"secureConnectionStart":816.9000005722046},{"duration":1039.8999996185303,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":817.1000003814697,"connectEnd":817.1000003814697,"connectStart":817.1000003814697,"domainLookupEnd":817.1000003814697,"domainLookupStart":817.1000003814697,"fetchStart":817.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":1650.6000003814697,"responseEnd":1857,"responseStart":1856,"secureConnectionStart":817.1000003814697},{"duration":1242.1999998092651,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":817.3000001907349,"connectEnd":817.3000001907349,"connectStart":817.3000001907349,"domainLookupEnd":817.3000001907349,"domainLookupStart":817.3000001907349,"fetchStart":817.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1857.5,"responseEnd":2059.5,"responseStart":2058.6000003814697,"secureConnectionStart":817.3000001907349},{"duration":1448.6000003814697,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":817.5,"connectEnd":817.5,"connectStart":817.5,"domainLookupEnd":817.5,"domainLookupStart":817.5,"fetchStart":817.5,"redirectEnd":0,"redirectStart":0,"requestStart":2060,"responseEnd":2266.1000003814697,"responseStart":2265,"secureConnectionStart":817.5},{"duration":1473.3999996185303,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/69508eac48a2781e76116ef9aaf97558-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":817.6000003814697,"connectEnd":817.6000003814697,"connectStart":817.6000003814697,"domainLookupEnd":817.6000003814697,"domainLookupStart":817.6000003814697,"fetchStart":817.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":2106.2000007629395,"responseEnd":2291,"responseStart":2290,"secureConnectionStart":817.6000003814697},{"duration":42.09999942779541,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/cddefc452def736b814cb1124eb8715f-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/6d15dbc1919cf2c5ddb9c9153d7f06f9/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":817.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":817.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":860,"responseStart":0,"secureConnectionStart":0},{"duration":1652,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/rest/api/1.0/shortcuts/803005/36457a83252da76e0efa441a4fb3275c/shortcuts.js?context=issuenavigation&context=issueaction","startTime":818.1000003814697,"connectEnd":818.1000003814697,"connectStart":818.1000003814697,"domainLookupEnd":818.1000003814697,"domainLookupStart":818.1000003814697,"fetchStart":818.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":2266.7000007629395,"responseEnd":2470.1000003814697,"responseStart":2468.800000190735,"secureConnectionStart":818.1000003814697},{"duration":15.59999942779541,"initiatorType":"link","name":"https://pfspipe.ipmu.jp/jira/s/1e83d960b274809d77d87cc5d08ac9f0-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":3030.9000005722046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":3030.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3046.5,"responseStart":0,"secureConnectionStart":0},{"duration":16.600000381469727,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/d40a034b2ad49fe248d3d34e35e494ff-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":3031.1000003814697,"connectEnd":3031.1000003814697,"connectStart":3031.1000003814697,"domainLookupEnd":3031.1000003814697,"domainLookupStart":3031.1000003814697,"fetchStart":3031.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":3031.1000003814697,"responseEnd":3047.7000007629395,"responseStart":3047.7000007629395,"secureConnectionStart":3031.1000003814697},{"duration":30.300000190734863,"initiatorType":"xmlhttprequest","name":"https://pfspipe.ipmu.jp/jira/rest/webResources/1.0/resources","startTime":3235.800000190735,"connectEnd":3235.800000190735,"connectStart":3235.800000190735,"domainLookupEnd":3235.800000190735,"domainLookupStart":3235.800000190735,"fetchStart":3235.800000190735,"redirectEnd":0,"redirectStart":0,"requestStart":3235.800000190735,"responseEnd":3266.1000003814697,"responseStart":3266.1000003814697,"secureConnectionStart":3235.800000190735},{"duration":29.800000190734863,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":3237.1000003814697,"connectEnd":3237.1000003814697,"connectStart":3237.1000003814697,"domainLookupEnd":3237.1000003814697,"domainLookupStart":3237.1000003814697,"fetchStart":3237.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":3237.1000003814697,"responseEnd":3266.9000005722046,"responseStart":3266.9000005722046,"secureConnectionStart":3237.1000003814697},{"duration":30,"initiatorType":"script","name":"https://pfspipe.ipmu.jp/jira/s/d41d8cd98f00b204e9800998ecf8427e-CDN/s4249o/803005/d03c5b13c84abbbcc687d02f1534e41c/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":3237.300000190735,"connectEnd":3237.300000190735,"connectStart":3237.300000190735,"domainLookupEnd":3237.300000190735,"domainLookupStart":3237.300000190735,"fetchStart":3237.300000190735,"redirectEnd":0,"redirectStart":0,"requestStart":3237.300000190735,"responseEnd":3267.300000190735,"responseStart":3267.300000190735,"secureConnectionStart":3237.300000190735}],"threshold":1000,"fetchStart":0,"domainLookupStart":15,"domainLookupEnd":238,"connectStart":238,"connectEnd":602,"secureConnectionStart":418,"requestStart":603,"responseStart":808,"responseEnd":3215,"domLoading":814,"domInteractive":3521,"domContentLoadedEventStart":3521,"domContentLoadedEventEnd":3596,"domComplete":3674,"loadEventStart":3674,"loadEventEnd":3676,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"40222078e24f1b","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":2272,"dbReadsTimeInMs":19,"dbConnsTimeInMs":23,"applicationHash":"1f96e09b3c60279a408a2ae47be3c745f571388b","experiments":[]}}
The new package is here:
https://hscdata.mtk.nao.ac.jp/hsc_bin_dist/pfs/fluxmodeldata-ambre-20220518-small.tar.xz
I confirmed that drp_stella (before
PIPE2D-506) works with this new package without raising exceptions. The broadband fluxes in the new package are a little larger than those in the old package (when the new ones are multiplied by 10^{32}), and the ratios (new flux) x 10^{32} / (old flux) are almost equal to the refractive index of the air. This fact verifies that the spectra in the new package are correct.