Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Flag name

Flag value in hexadecimal form

Flag value in decimal form

Description of the flag

DEFAULT

0x00000000

0

Initial value; resets all bits.

SECF_STAR_FEW

0x00000001

1

Used within relphot: skip star.

SECF_STAR_POOR

0x00000002

2

Used within relphot: skip star.

SECF_USE_SYNTH

0x00000004

4

Synthetic photometry used in average measurement.

SECF_USE_UBERCAL

0x00000008

8

Ubercal photometry used in average measurement.

SECF_HAS_PS1

0x00000010

16

PS1 photometry used in average measurement.

SECF_HAS_PS1_STACK

0x00000020

32

PS1 stack photometry exists.

SECF_HAS_TYCHO

0x00000040

64

Tycho photometry used for synthetic magnitudes.

SECF_FIX_SYNTH

0x00000080

128

Synthetic magnitudes repaired with zeropoint map.

SECF_RANK_0

0x00000100

256

Average magnitude calculated in 0th passuses only rank 0 detections.

SECF_RANK_1

0x00000200

512

Average magnitude calculated in 1st passuses only rank 1 detections.

SECF_RANK_2

0x00000400

1024

Average magnitude calculated in 2nd passuses only rank 2 detections.

SECF_RANK_3

0x00000800

2048

Average magnitude calculated in 3rd passuses only rank 3 detections.

SECF_RANK_4

0x00001000

4096

Average magnitude calculated in 4th passuses only rank 4 detections.

SECF_STACK_PRIMARY

0x00004000

16384

PS1 stack photometry comes from primary skycell.

SECF_STACK_BESTDET

0x00008000

32768

PS1 stack best measurement is a detection (not forced).

SECF_STACK_PRIMDET

0x00010000

65536

PS1 stack primary measurement is a detection (not forced).

SECF_HAS_SDSS

0x00100000

1048576

This photcode has SDSS photometry.

SECF_HAS_HSC

0x00200000

2097152

This photcode has HSC photometry.

SECF_HAS_CFH

0x00400000

4194304

This photcode has CFH photometry (mostly Megacam).

SECF_HAS_DES

0x00800000

8388608

This photcode has DES photometry.

SECF_OBJ_EXT

0x01000000

16777216

Extended in this band.

...

These values are also listed in the system metadata table ForcedGalaxyShapeFlags.

Flag name

Flag value in hexadecimal form

Flag value in decimal form

Description of the flag

NO_ERROR

0x00000000

0

No error condition raised.

FAIL_FIT

0x00000001

1

Fit failed to converge or was degenerate

TOO_FEW

0x00000002

2

Not enough points to fit the model

OUT_OF_RANGE

0x00000004

4

Fit minimum too far outside data range

BAD_ERROR

0x00000008

8

Invalid size error (nan or inf)

...