CircularDetector¶
- class marxs.optics.CircularDetector(pixsize=1, **kwargs)[source]¶
Bases:
OpticalElementA detector shaped like a ring or tube.
This detector is shaped like a tube. The form is a circle in the xy plane and and flat along the z-direction. While most CCDs are flat in practice, the
CircularDetectorsimulates a setup that can follow the Rowland circle geometry exactly which is useful, e.g. to study the resolution of a spectrograph without worrying about the details of the detector geometry.Parameters¶
- position, orientation, zoom, pos4dsee description of
pos4d The radius of the tube is given by the
zoomkeyword, seepos4d. Usezoom[0] == zoom[1]to make a circular tube.zoom[0] != zoom[1]gives an elliptical profile.zoom[2]sets the extension in the z direction.- pixsizefloat
size of pixels in mm
Define a new MARXS element.
Attributes Summary
name for output columns that contain this pixel number.
Dictionary for display specifications, e.g. color.
Methods Summary
specific_process_photons(photons, intersect, ...)Attributes Documentation
- centerpix = [0, 0]¶
- detpix_name = ['detpix_x', 'detpix_y']¶
name for output columns that contain this pixel number.
- display = {'color': (1.0, 1.0, 0.0), 'opacity': 0.7}¶
Dictionary for display specifications, e.g. color
- loc_coos_name = ['det_phi', 'det_y']¶
Methods Documentation
- position, orientation, zoom, pos4dsee description of