Attachment 'call_eROSITA_LS.py'

Download

   1 ##in bash shell on ds machines: source /utils/anaconda-setup.sh
   2 
   3 import eROSITA_LS
   4 
   5 ## eSASS LC file, mandatory input parameter (output from SRCTOOL)
   6 
   7 lcfil="sine_am0.497_pe5.9_040_LightCurve_source_1.fits"
   8 
   9 ##optional period search input parameters (default: pe_min=0.4,pe_max=11.0,nper=1e5)
  10 pe_min=0.6
  11 pe_max=12.
  12 nper=2e5
  13 
  14 #evaluation of confidence levels, optional (default: "yes")
  15 with_cl="yes"
  16 
  17 #nb of simulations for CL measurements when with_cl="yes", optional  (default: 100)
  18 nbsim=100  
  19 
  20 bestper,std,zzz=eROSITA_LS.eLS(lcfil,pe_min=pe_min,pe_max=pe_max,nper=nper,with_cl=with_cl,nbsim=nbsim)
  21 
  22 print 'Best period (s):', bestper
  23 print 'std of gaussian (s):', std
  24 print 'Confidence levels:',zzz

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2018-11-14 10:30:38, 0.7 KB) [[attachment:call_eROSITA_LS.py]]
  • [get | view] (2018-11-14 10:30:30, 4.0 KB) [[attachment:eROSITA_LS.py]]
  • [get | view] (2018-11-14 10:20:28, 188.4 KB) [[attachment:sine_am0.497_pe5.9_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:20:56, 188.4 KB) [[attachment:sine_am0.499_pe9.2_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:20:45, 188.4 KB) [[attachment:sine_am0.506_pe1.1_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:21:11, 188.4 KB) [[attachment:sine_am0.732_pe1.9_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:21:18, 188.4 KB) [[attachment:sine_am0.759_pe6.6_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:21:25, 188.4 KB) [[attachment:sine_am0.904_pe1.2_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:21:30, 188.4 KB) [[attachment:sine_am0.990_pe4.5_040_LightCurve_source_1.fits]]
  • [get | view] (2018-11-14 10:21:36, 188.4 KB) [[attachment:sine_am0.992_pe7.7_040_LightCurve_source_1.fits]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.