lamp_mac/FIGARO/
cosmos_analysis.pro
Part of th new Cosmos project Modified on 12/02/13 by PG angular resolution calculation updated Modified on 31/01/13 by PG statistical error calculation updated (error of 0 counts is 1) Modified on 01/02/13 by PG added option to have different chopper openings for direct and reflected beam
Routines
cosmos_analysis_init
result = cosmos_anal_append(array1, array2)
cosmos_anal_backgroundaverage, arr, err, mask
cosmos_anal_backgroundfit, arr, err, mask, str
result = cosmos_anal_calcangleoffset(peakpos, xoff, density, distance)
result = cosmos_anal_correctangle(angle, dirpeakpos, refpeakpos, dirxoff, refxoff, density, dirdist, refdist)
result = cosmos_anal_correctangle(angle, dirpeakpos, refpeakpos, dirxoff, refxoff, density, dirdist, refdist)
result = cosmos_anal_correctdistance(peakpos, xoff, density, distance)
cosmos_anal_discard, result
result = cosmos_anal_factor(array_a, array_b)
result = cosmos_anal_group(result, groupnum)
result = cosmos_anal_log(array)
result = cosmos_anal_mean(array, weightoption)
result = cosmos_anal_peaksearchbasic(array)
cosmos_anal_peaksearchpro_newer, cnt, xrange, usefulx, maximum, peakrange
cosmos_anal_peaksearchpro, cnt, xrange, usefulx, maximum, peakrange
result = cosmos_anal_peaksearchrefined(array, search, foregd)
cosmos_anal_ranges
cosmos_anal_run, result, groupedresult, direct, reflect, instr, theta, runno, monitor_run=monitor_run, nodirect_run=nodirect_run
result = cosmos_anal_sort(dataset)
result = cosmos_array_norm(array)
cosmos_direct_read, newfiles, mondir, cntdir, pardir, runno
result = cosmos_getnumors(intlist)
cosmos_grav, theta0, lambda, newtheta, delta, dz, poffoff, openofflam, xchopper, xslits3, xslits2, refdown
cosmos_init_detector
result = cosmos_get_machine_params(path, numor)
result = sample_to_detector_distance(sht1, dh1, dh2, pixel, xdh1, xdh2, xdet, ydet, mmpy)
cosmos_raw_read, files, monitors, counts, params, path, override, reflect=reflect
cosmos_run_setup
cosmos_run_background
cosmos_analysis
Routine details
top cosmos_analysis_init
cosmos_analysis_init
top cosmos_anal_backgroundaverage
cosmos_anal_backgroundaverage, arr, err, mask
Parameters
- arr
- err
- mask
top cosmos_anal_backgroundfit
cosmos_anal_backgroundfit, arr, err, mask, str
Parameters
- arr
- err
- mask
- str
top cosmos_anal_calcangleoffset
result = cosmos_anal_calcangleoffset(peakpos, xoff, density, distance)
Parameters
- peakpos
- xoff
- density
- distance
top cosmos_anal_correctangle
result = cosmos_anal_correctangle(angle, dirpeakpos, refpeakpos, dirxoff, refxoff, density, dirdist, refdist)
Parameters
- angle
- dirpeakpos
- refpeakpos
- dirxoff
- refxoff
- density
- dirdist
- refdist
top cosmos_anal_correctangle
result = cosmos_anal_correctangle(angle, dirpeakpos, refpeakpos, dirxoff, refxoff, density, dirdist, refdist)
Parameters
- angle
- dirpeakpos
- refpeakpos
- dirxoff
- refxoff
- density
- dirdist
- refdist
top cosmos_anal_correctdistance
result = cosmos_anal_correctdistance(peakpos, xoff, density, distance)
Parameters
- peakpos
- xoff
- density
- distance
top cosmos_anal_peaksearchpro_newer
cosmos_anal_peaksearchpro_newer, cnt, xrange, usefulx, maximum, peakrange
Parameters
- cnt
- xrange
- usefulx
- maximum
- peakrange
top cosmos_anal_peaksearchpro
cosmos_anal_peaksearchpro, cnt, xrange, usefulx, maximum, peakrange
Parameters
- cnt
- xrange
- usefulx
- maximum
- peakrange
top cosmos_anal_peaksearchrefined
result = cosmos_anal_peaksearchrefined(array, search, foregd)
Parameters
- array
- search
- foregd
top cosmos_anal_ranges
cosmos_anal_ranges
top cosmos_anal_run
cosmos_anal_run, result, groupedresult, direct, reflect, instr, theta, runno, monitor_run=monitor_run, nodirect_run=nodirect_run
Parameters
- result
- groupedresult
- direct
- reflect
- instr
- theta
- runno
Keywords
- monitor_run
- nodirect_run
top cosmos_direct_read
cosmos_direct_read, newfiles, mondir, cntdir, pardir, runno
Parameters
- newfiles
- mondir
- cntdir
- pardir
- runno
top cosmos_grav
cosmos_grav, theta0, lambda, newtheta, delta, dz, poffoff, openofflam, xchopper, xslits3, xslits2, refdown
Parameters
- theta0
- lambda
- newtheta
- delta
- dz
- poffoff
- openofflam
- xchopper
- xslits3
- xslits2
- refdown
top cosmos_init_detector
cosmos_init_detector
top sample_to_detector_distance
result = sample_to_detector_distance(sht1, dh1, dh2, pixel, xdh1, xdh2, xdet, ydet, mmpy)
Parameters
- sht1
- dh1
- dh2
- pixel
- xdh1
- xdh2
- xdet
- ydet
- mmpy
top cosmos_raw_read
cosmos_raw_read, files, monitors, counts, params, path, override, reflect=reflect
Parameters
- files
- monitors
- counts
- params
- path
- override
Keywords
- reflect
top cosmos_run_setup
cosmos_run_setup
top cosmos_run_background
cosmos_run_background
top cosmos_analysis
cosmos_analysis
File attributes
Modification date: | Tue Oct 1 14:42:05 2013 |
Lines: | 3,784 |