6-Bromo-1-methyl-4-[2-(1-phenylethylidene)hydrazinylidene]-3,4-dihydro-1H-2λ6,1-benzothiazine-2,2-dione

In the title compound, C17H16BrN3O2S, the dihedral angle between the aromatic rings is 1.24 (15)° and the C=N—N=C torsion angle is 167.7 (3)°. The conformation of the thiazine ring is an envelope, with the S atom displaced by 0.805 (3) Å from the mean plane of the other five atoms (r.m.s. deviation = 0.027 Å). In the crystal, C—H⋯O interactions link the molecules into C(10) [010] chains. A weak C—H⋯π interaction is also observed.

In the title compound, C 17 H 16 BrN 3 O 2 S, the dihedral angle between the aromatic rings is 1.24 (15) and the C N-N C torsion angle is 167.7 (3) . The conformation of the thiazine ring is an envelope, with the S atom displaced by 0.805 (3) Å from the mean plane of the other five atoms (r.m.s. deviation = 0.027 Å ). In the crystal, C-HÁ Á ÁO interactions link the molecules into C(10) [010] chains. A weak C-HÁ Á Á interaction is also observed.

Related literature
For the synthesis and biological activity of the title compound and related materials, see: Shafiq, Zia-Ur-Rehman et al. (2011). For further synthetic details, see: Shafiq, Khan et al.  Table 1 Hydrogen-bond geometry (Å , ).
MS acknowledges the support of HEC Pakistan for the PhD fellowship.
In the crystal, C-H···O interactions (Table 1) link the molecules into C(10) chains propagating in [010]. A weak C-H···π interaction is also observed.

Refinement
The H atoms were placed in calculated positions (C-H = 0.93-0.97 Å) and refined as riding. The methyl group was allowed to rotate, but not to tip, to best fit the electron density. The constraint U iso (H) = 1.2U eq (C) or 1.5U eq (methyl C) was applied.  The molecular structure of (I), showing displacement ellipsoids at the 50% probability level. where P = (F o 2 + 2F c 2 )/3 (Δ/σ) max = 0.001 Δρ max = 0.56 e Å −3 Δρ min = −0.51 e Å −3

Special details
Geometry. All e.s.d.'s (except the e.s.d. in the dihedral angle between two l.s. planes) are estimated using the full covariance matrix. The cell e.s.d.'s are taken into account individually in the estimation of e.s.d.'s in distances, angles and torsion angles; correlations between e.s.d.'s in cell parameters are only used when they are defined by crystal symmetry. An approximate (isotropic) treatment of cell e.s.d.'s is used for estimating e.s.d.'s involving l.s. planes. Refinement. Refinement of F 2 against ALL reflections. The weighted R-factor wR and goodness of fit S are based on F 2 , conventional R-factors R are based on F, with F set to zero for negative F 2 . The threshold expression of F 2 > σ(F 2 ) is used only for calculating R-factors(gt) etc. and is not relevant to the choice of reflections for refinement. R-factors based on F 2 are statistically about twice as large as those based on F, and R-factors based on ALL data will be even larger.