Changeset 31157 for trunk/ppSim/src/ppSimMakeGalaxies.c
- Timestamp:
- Apr 4, 2011, 1:14:37 PM (15 years ago)
- Location:
- trunk/ppSim
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/ppSimMakeGalaxies.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim
- Property svn:ignore
-
old new 14 14 missing 15 15 test 16 a.out.dSYM
-
- Property svn:ignore
-
trunk/ppSim/src/ppSimMakeGalaxies.c
r30618 r31157 16 16 17 17 bool galaxyGrid = psMetadataLookupBool(&mdok, recipe, "GALAXY.GRID"); // Density of fakes 18 int galaxyGridDX = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DX"); // Density of fakes19 int galaxyGridDY = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DY"); // Density of fakes18 int galaxyGridDX = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DX"); // Density of fakes 19 int galaxyGridDY = psMetadataLookupS32 (&mdok, recipe, "GALAXY.GRID.DY"); // Density of fakes 20 20 bool galaxyGridRandom = psMetadataLookupBool(&mdok, recipe, "GALAXY.GRID.RANDOM"); // Density of fakes 21 float galaxyGridPeak = psMetadataLookupF32 (&mdok, recipe, "GALAXY.GRID.PEAK"); // peak flux of fakes 21 22 22 23 float galaxyRmajorMax = psMetadataLookupF32(&mdok, recipe, "GALAXY.RMAJOR.MAX"); // Density of fakes … … 107 108 galaxy->x = ix; 108 109 galaxy->y = iy; 109 110 // galaxy->peak = 1000; 111 galaxy->peak = bright / 100.0; 112 // fprintf (stderr, "Io: %f\n", bright); 110 galaxy->peak = galaxyGridPeak; 113 111 114 112 // galaxyIndex from user should be for function of this form: exp(-r^(1/n))
Note:
See TracChangeset
for help on using the changeset viewer.
