IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2711


Ignore:
Timestamp:
Dec 13, 2004, 6:31:12 PM (22 years ago)
Author:
Paul Price
Message:

Seems to be working well. Writing up.

Location:
trunk/stac/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/Makefile

    r2670 r2711  
    11SHELL = /bin/sh
    22CC = gcc
    3 CFLAGS += -O2 -g -std=c99 -I/home/mithrandir/price/psLib3/psLib/include -DCRFLUX
     3CFLAGS += -O2 -g -std=c99 -I/home/mithrandir/price/psLib3/psLib/include -DCRFLUX -DTESTING
    44PSLIB += -L/home/mithrandir/price/psLib3/psLib/lib/ -lpslib -lgsl -lgslcblas -lfftw3f -lsla -lcfitsio -lm
    55LDFLAGS += $(PSLIB)
     
    2424                $(CC) $(CFLAGS) -o $@ median.o $(LDFLAGS) $(OPTFLAGS)
    2525
     26getPixels:      getPixels.o
     27                $(CC) $(CFLAGS) -o $@ getPixels.o $(LDFLAGS) $(OPTFLAGS)
     28
    2629
    2730clean:
     
    4144                -$(RM) test_[0-3].fits.shifterr.*
    4245                -$(RM) leaks.dat
    43                 ./stac -v -k 3 -f 0.7 -G 0.77 testout.fits test_0.fits test_1.fits test_2.fits test_3.fits
     46                ./stac -v -k 2.5 -f 0.5 -G 0.96 testout.fits test_0.fits test_1.fits test_2.fits test_3.fits
    4447
    4548# Run profiling.
  • trunk/stac/src/stac.c

    r2670 r2711  
    4949    // Combine with rejection
    5050    psArray *rejected = NULL;
    51     psImage *combined = stacCombine(transformed, transformedErrors, 1,  &rejected, config);
     51    psImage *combined = stacCombine(transformed, transformedErrors, 2,  &rejected, config);
    5252
    5353#ifdef TESTING
  • trunk/stac/src/stacConfig.c

    r2661 r2711  
    3838    config->inputs = NULL;
    3939    config->output = NULL;
    40     config->outnx = 1024;
    41     config->outny = 1024;
     40    config->outnx = 512;
     41    config->outny = 512;
    4242    config->saturated = 65536.0;
    4343    config->bad = 0.0;
  • trunk/stac/src/stacTransform.c

    r2661 r2711  
    206206                (void)psPlaneTransformApply(detector, map, sky);
    207207
     208                // Change PS_INTERPOLATE_BILINEAR to best available technique.
    208209                outImage->data.F32[y][x] = (psF32)psImagePixelInterpolate(image, detector->x + 0.5,
    209210                                                                          detector->y + 0.5, mask, 1, 0.0,
Note: See TracChangeset for help on using the changeset viewer.