Changeset 4375 for trunk/psphot/src/mark_psf_source.c
- Timestamp:
- Jun 24, 2005, 5:38:37 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/mark_psf_source.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/mark_psf_source.c
r4129 r4375 14 14 // any object which meets the criterion is marked as 15 15 // PS_SOURCE_BRIGHTSTAR 16 # define MIN_DS 0.01 16 17 bool mark_psf_source (psSource *source, float shapeNsigma) 17 18 { … … 30 31 dSY = source->modelPSF->dparams->data.F32[5]; 31 32 32 nSx = dSX * SX * SN; 33 nSy = dSY * SY * SN; 33 nSx = dSX / hypot (MIN_DS, 1 / (SX * SN)); 34 nSy = dSY / hypot (MIN_DS, 1 / (SY * SN)); 35 // sigma = 1 / SX 36 // dsx = 1 / (SX * SN) 37 // dsx_o = hypot (1/SX*SN + MIN_DSX) 34 38 35 39 // assign PS_SOURCE_BRIGHTSTAR to bright objects within PSF region of dparams[]
Note:
See TracChangeset
for help on using the changeset viewer.
