<commit_before>// ============================================================================
// Distance-field models
// ============================================================================

// This helps:                                     set for kerbin / earth
// https://www.desmos.com/calculator/              radiation_model = earth
// https://www.desmos.com/calculator/jynjttwi1y    radiation_model = earth_eagle

// More Info about the Belts at
// 
// https://www.nasa.gov/pdf/678135main_rbsp_pk_final_hi.pdf
// https://www.nasa.gov/feature/goddard/2018/studying-the-van-allen-belts-60-years-after-america-s-first-spacecraft
// https://en.wikipedia.org/wiki/Van_Allen_radiation_belt



RadiationModel
{
  name = earth                     // unique name for the model

  has_inner = true
  inner_dist = 1.83                // orginal inner torus 'a' radius * inner_deform_xy
  inner_radius = 1.10              // inner torus 'b' radius
  inner_deform_xy = 0.8            // wanted (high / diameter) ^ 2
  inner_compression = 1.1          // deformation on the dayside
  inner_extension = 1.00           // deformation on the other side
  inner_border_dist = 0.0001       // original center of the inner torus we substract * inner_border_deform_xy
  inner_border_radius = 1.200      // radius of the inner torus we substract
  inner_border_deform_xy = 0.5     // wanted (high / diameter) ^ 2
  inner_quality = 50.0             // border quality, used at generation time

  has_outer = true
  outer_dist = 5                   // orignial outer torus 'a' radius * outer_deform_xy
  outer_radius = 5                 // outer torus 'b' radius
  outer_deform_xy = 0.7063         // wanted (high / diameter) ^ 2
  outer_compression = 1.2          // deformation on the dayside
  outer_extension = 1.00           // deformation on the other side
  outer_border_dist = 2.2          // original center of the outer torus we substract * outer_border_deform_xy
  outer_border_radius = 2.2        // radius of the outer torus we substract
  outer_border_deform_xy = 0.7972  // wanted (high / diameter) ^ 2
  outer_quality = 60.0             // border quality, used at generation time

  has_pause = true
  pause_radius = 15                // pause sphere radius
  pause_compression = 1.01         // deformation on the dayside
  pause_extension = 0.2            // deformation on the other side
  pause_height_scale = 1.8         // 'vertical' deformation
  pause_quality = 30.0             // border quality, used at generation time
}

RadiationModel
{
  name = earth_eagle               // unique name for the model

  has_inner = true
  inner_dist = 0.8945              // orginal inner torus 'a' radius * inner_deform_xy
  inner_radius = 0.7125            // inner torus 'b' radius
  inner_deform_xy = 0.6445         // wanted (high / diameter) ^ 2
  inner_compression = 1.01         // deformation on the dayside
  inner_extension = 1.00           // deformation on the other side
  inner_border_dist = 0.0001       // original center of the inner torus we substract * inner_border_deform_xy
  inner_border_radius = 1.1600     // radius of the inner torus we substract
  inner_border_deform_xy = 1.0000  // wanted (high / diameter) ^ 2
  inner_quality = 50.0             // border quality, used at generation time

  has_outer = true
  outer_dist = 2.6338              // orignial outer torus 'a' radius * outer_deform_xy
  outer_radius = 2.1250            // outer torus 'b' radius<commit_msg>This uses the new radiation model. Extended the outer belt to make sure it reaches down to the planets surface<commit_after>// ============================================================================
// Distance-field models
// ============================================================================

// Use this when you tweak radiation belts, it helps. Promise.
// https://www.desmos.com/calculator/jynjttwi1y

// More Info about the Belts at
// 
// https://www.nasa.gov/pdf/678135main_rbsp_pk_final_hi.pdf
// https://www.nasa.gov/feature/goddard/2018/studying-the-van-allen-belts-60-years-after-america-s-first-spacecraft
// https://en.wikipedia.org/wiki/Van_Allen_radiation_belt


RadiationModel
{
  name = earth                     // unique name for the model

  has_inner = true
  inner_dist = 0.8945              // orginal inner torus 'a' radius * inner_deform_xy
  inner_radius = 0.7125            // inner torus 'b' radius
  inner_deform_xy = 0.6445         // wanted (high / diameter) ^ 2
  inner_compression = 1.01         // deformation on the dayside
  inner_extension = 1.00           // deformation on the other side
  inner_border_dist = 0.0001       // original center of the inner torus we substract * inner_border_deform_xy
  inner_border_radius = 1.1600     // radius of the inner torus we substract
  inner_border_deform_xy = 1.0000  // wanted (high / diameter) ^ 2
  inner_quality = 50.0             // border quality, used at generation time

  has_outer = true
  outer_dist = 2.6338              // orignial outer torus 'a' radius * outer_deform_xy
  outer_radius = 2.6               // outer torus 'b' radius
{'fraction_non_alphanumeric': 0.14044289044289043, 'fraction_numerical': 0.037296037296037296, 'mean_word_length': 2.376393442622951, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 7, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '404465', 'n_tokens_mistral': 1643, 'n_tokens_neox': 1434, 'n_words': 429}