IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2010, 7:26:50 AM (16 years ago)
Author:
eugene
Message:

add option to change output image size (not yet working); fix scale parameters for random galaxies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimArguments.c

    r24807 r29011  
    5555    psMetadataAddStr(arguments,  PS_LIST_TAIL, "-galmodel", 0, "Type of Galaxy model", NULL);
    5656    psMetadataAddS32(arguments,  PS_LIST_TAIL, "-bin", 0, "Binning in x and y", 1);
     57    psMetadataAddS32(arguments,  PS_LIST_TAIL, "-nx", 0, "cell x-size in pixels", 0);
     58    psMetadataAddS32(arguments,  PS_LIST_TAIL, "-ny", 0, "cell y-size in pixels", 0);
    5759    psMetadataAddBool(arguments, PS_LIST_TAIL, "+photom", 0, "Perform photometry on fake sources", false);
    5860
     
    197199    ppSimArgToRecipeS32(&status,  options, "BINNING",       arguments, "-bin");
    198200
     201    ppSimArgToRecipeS32(&status,  config->arguments, "NX.CELL", arguments, "-nx");
     202    ppSimArgToRecipeS32(&status,  config->arguments, "NY.CELL", arguments, "-ny");
     203
    199204    if (type == PPSIM_TYPE_OBJECT) {
    200205        // Load values required for adding stars
Note: See TracChangeset for help on using the changeset viewer.