IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 18, 2009, 10:48:22 AM (16 years ago)
Author:
Paul Price
Message:

Reworking so that vectors can be used as well as an array of sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceGroups.h

    r26162 r26182  
    1616} pmSourceGroups;
    1717
    18 /// Allocator
    19 ///
    20 /// Allocates the source groups
     18/// Allocate the source groups
    2119pmSourceGroups *pmSourceGroupsAlloc(
    2220    const pmReadout *readout,           // Readout on which the sources are defined
    23     const psArray *sources,             // Sources of interest
    2421    int nThreads                        // Number of threads
    2522    );
     
    3431    );
    3532
     33/// Populate the source groups
     34bool pmSourceGroupsPopulate(
     35    pmSourceGroups *groups,              // Source groups to populate
     36    const psVector *x, const psVector *y // Coordinates of sources
     37    );
    3638
    3739
     40/// Generate source groups from an array of sources
     41pmSourceGroups *pmSourceGroupsFromSources(
     42    const pmReadout *readout,           // Readout on which the sources are defined
     43    const psArray *sources,             // Array of sources
     44    int nThreads                        // Number of threads
     45    );
     46
     47/// Generate source groups from vectors with source positions
     48pmSourceGroups *pmSourceGroupsFromVectors(
     49    const pmReadout *readout,             // Readout on which the sources are defined
     50    const psVector *x, const psVector *y, // Coordinates of sources
     51    int nThreads                          // Number of threads
     52    );
    3853
    3954#endif
Note: See TracChangeset for help on using the changeset viewer.