deliangwang的个人博客分享 http://blog.sciencenet.cn/u/deliangwang

博文

同波段不同波长范围的能谱指数转化(IDL程序)

已有 2309 次阅读 2013-2-2 20:01 |个人分类:编程笔记|系统分类:科研笔记| different, 程序, result, between, 波段

Function alpaha_trans,vx1=vx1,vy1=vy1,vx2=vx3,vy2=vy2, $
                      slopex=slopex,slopey=slopey, $
                      alpaha_xy

;+
;NAME:
;     alpaha_trans
;PURPOSE;
;     alpaha transform between different waveband
;CALLING SEQUENCE:
;     result=alpaha_trans(alpaha_xy,vx1=vx1,vy2=vy2,vx2=vx3, $
;                         vy2=vy2,slopex=slopex,slopey=slopey)
;
;INPUT:
;    vx1,vy1   ----  frequencies input
;    vx2,vy2   ----  frequencies output
;    alpaha_xy
;
;    alpaha_xy=-lg(Ly/Lx)/lg(vy/vx)
;    Lx -- vx^slopex
;    Ly -- vy^slopey
;
;OUTPUT:
;    alpaha_xy_tr
;REVISION HISTORY:
;    Original by DL.Wang,11-May-2007
;-

    A=alog10(vy1/vx1)/alog10(vy2/vx2)
    B=alog10(vy2/vy1)/alog10(vy2/vx2)
    C=alog10(vx2/vx1)/alog10(vy2/vx2)

    alpaha_xy_tr = A * alpaha_xy - slopey * B + slopex * C

    return,alpaha_xy_tr

  End 



https://blog.sciencenet.cn/blog-456360-658879.html

上一篇:能谱指数相互转化(IDL程序)
下一篇:AGN宽线区光度计算(IDL程序)
收藏 IP: 123.86.145.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-26 05:18

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部